<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <meta content="HTML Tidy for Cygwin (vers 1st February 2003), see www.w3.org" name="generator">
    <meta name="keywords" content="electronic commerce, ecommerce, ebusiness, e-business, e-commerce, enterprise software, net economy, Netscape, Sun Microsystems, DevEdge Archive, iPlanet, internet software">
    <meta name="description" content="The DevEdge Archive, a strategic alliance formed by America Online and Sun Microsystems, Inc., is delivering iPlanet e-commerce software and enterprise solutions that enable companies to compete successfully in the Net Economy">
    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
    <meta name="TEMPLATEBASE" content="Authored in FrameMaker. Converted to HTML in WebWorks Publisher 2000. manual wdt 1.5">
    <meta name="LASTUPDATED" content="09/28/00 13:15:15">
    <title>
      Core JavaScript Reference 1.5:
    </title>
    <link rel="stylesheet" type="text/css" href="js15ref.css">
  </head>
  <body>
    <table width="100%" border="0" cellspacing="4">
      <tr>
        <td valign="top">
          <b><a class="sansserifPurple" href="boolean.html">Previous</a></b>&nbsp;&nbsp;&nbsp;&nbsp; <a href="contents.html"><b class="sansserifPurple">Contents</b></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="ix.html"><b class="sansserifPurple">Index</b></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="function.html"><b class="sansserifPurple">Next</b></a> &nbsp;&nbsp;&nbsp;&nbsp;
        </td>
      </tr>
      <tr>
        <td class="sansserifBlack" valign="top" align="right" bgcolor="#CCCCCC">
          <b>Core JavaScript Reference 1.5</b>
        </td>
      </tr>
    </table><br>
     
    <blockquote>
      <br>
      <br>
      <br>
      <br>
       
      <p>
        <a name="1193137" id="1193137"></a> <a name="Date" id="Date"></a> <span class="sansserif"><b>Date</b></span>
      </p>
      <p>
        <a name="1193174" id="1193174"></a> <span class="sansserif">Lets you work with dates and times.<br></span>
      </p><br>
       
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top" colspan="2" rowspan="1">
            <p>
              <a name="1193141" id="1193141"></a> <span class="sansserif"><i>Core object</i></span>
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193145" id="1193145"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193147" id="1193147"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199402" id="1199402"></a>
            </p>
            <p>
              <a name="1199452" id="1199452"></a> <span class="sansserif">JavaScript 1.1: added <span class="mono">prototype</span> property.</span>
            </p>
            <p>
              <a name="1193149" id="1193149"></a>
            </p>
            <p>
              <a name="1199455" id="1199455"></a> <span class="sansserif">JavaScript 1.3: removed platform dependencies to provide a uniform behavior across platforms; added <span class="mono">ms_num</span> parameter to <span class="mono">Date</span> constructor; added <a class="mono" href="date.html#1193607">getFullYear</a>, <a class="mono" href="date.html#1194264">setFullYear</a>, <a class="mono" href="date.html#1193677">getMilliseconds</a>, <a class="mono" href="date.html#1194367">setMilliseconds</a>, <a class="mono" href="date.html#1195016">toSource</a>, and UTC methods (such as <a class="mono" href="date.html#1219395">getUTCDate</a> and <a class="mono" href="date.html#1194580">setUTCDate</a>).</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1202749" id="1202749"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1202751" id="1202751"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193175" id="1193175"></a> <a name="Created by" id="Created by"></a> <span class="sansserif"><b>Created by</b></span><br>
         <a name="1193176" id="1193176"></a> <span class="sansserif">The <span class="mono">Date</span> constructor:</span>
      </p>
      <p>
        <a name="1193177" id="1193177"></a><span class="mono">new Date()<br>
         new Date(<i>milliseconds</i>)<br>
         new Date(<i>dateString</i>)<br>
         new Date(<i>yr_num</i>, <i>mo_num</i>, <i>day_num<br></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[, <i>hr_num</i>, <i>min_num</i>, <i>sec_num</i>, <i>ms_num</i>])</span>
      </p>
      <p>
        <a name="1213308" id="1213308"></a> <span class="sansserif"><i>Versions prior to JavaScript 1.3:</i></span>
      </p>
      <p>
        <a name="1212298" id="1212298"></a><span class="mono">new Date()<br>
         new Date(<i>milliseconds</i>)<br>
         new Date(<i>dateString</i>)<br>
         new Date(<i>yr_num</i>, <i>mo_num</i>, <i>day_num</i>[, <i>hr_num</i>, <i>min_num</i>, <i>sec_num</i>])</span>
      </p>
      <p>
        <br>
         <a name="1193178" id="1193178"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193192" id="1193192"></a> <span class="sansserif"><br></span>
      </p><br>
       
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1212730" id="1212730"></a> <span class="mono">milliseconds</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1212732" id="1212732"></a> <span class="sansserif">Integer value representing the number of milliseconds since 1 January 1970 00:00:00.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193181" id="1193181"></a> <span class="mono">dateString</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193183" id="1193183"></a> <span class="sansserif">String value representing a date. The string should be in a format recognized by the <a href="date.html#1194184">Date.parse</a> method.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193185" id="1193185"></a> <span class="mono">yr_num, mo_num,<br>
             day_num</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193187" id="1193187"></a> <span class="sansserif">Integer values representing part of a date. As an integer value, the month is represented by 0 to 11 with 0=January and 11=December.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193189" id="1193189"></a> <span class="mono">hr_num, min_num,<br>
             sec_num, ms_num</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193191" id="1193191"></a> <span class="sansserif">Integer values representing part of a date.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193193" id="1193193"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193194" id="1193194"></a> <span class="sansserif">If you supply no arguments, the constructor creates a <span class="mono">Date</span> object for today's date and time according to local time. If you supply some arguments but not others, the missing arguments are set to 0. If you supply any arguments, you must supply at least the year, month, and day. You can omit the hours, minutes, seconds, and milliseconds.</span>
      </p>
      <p>
        <a name="1213241" id="1213241"></a> <span class="sansserif">The date is measured in milliseconds since midnight 01 January, 1970 UTC. A day holds 86,400,000 milliseconds. The <span class="mono">Date</span> object range is -100,000,000 days to 100,000,000 days relative to 01 January, 1970 UTC.</span>
      </p>
      <p>
        <a name="1213242" id="1213242"></a> <span class="sansserif">The <span class="mono">Date</span> object provides uniform behavior across platforms.</span>
      </p>
      <p>
        <a name="1193198" id="1193198"></a> <span class="sansserif">The <span class="mono">Date</span> object supports a number of UTC (universal) methods, as well as local time methods. UTC, also known as Greenwich Mean Time (GMT), refers to the time as set by the World Time Standard. The local time is the time known to the computer where JavaScript is executed.</span>
      </p>
      <p>
        <a name="1213264" id="1213264"></a> <span class="sansserif">For compatibility with millennium calculations (in other words, to take into account the year 2000), you should always specify the year in full; for example, use 1998, not 98. To assist you in specifying the complete year, JavaScript includes the methods <span class="mono">getFullYear</span>, <span class="mono">setFullYear</span>, <span class="mono">getFullUTCYear</span>, and <span class="mono">setFullUTCYear</span>.</span>
      </p>
      <p>
        <a name="1193200" id="1193200"></a> <span class="sansserif">The following example returns the time elapsed between <span class="mono">timeA</span> and <span class="mono">timeB</span> in milliseconds.</span>
      </p>
      <p>
        <a name="1209196" id="1209196"></a> <span class="mono">timeA = new Date();<br>
         // Statements here to take some action.<br>
         timeB = new Date();<br>
         timeDifference = timeB - timeA;</span>
      </p>
      <p>
        <br>
         <a name="1211485" id="1211485"></a> <a name="Backward Compatibility" id="Backward Compatibility"></a> <span class="sansserif"><b>Backward Compatibility</b></span>
      </p>
      <p>
        <a name="1211486" id="1211486"></a> <span class="sansserif"><b>JavaScript 1.2 and earlier.</b></span> <a name="1211487" id="1211487"></a> <span class="sansserif">The <span class="mono">Date</span> object behaves as follows:</span>
      </p>
      <ul>
        <li class="nobullet">
          <a name="1211488" id="1211488"></a>
        </li>
        <li>
          <span class="sansserif">Dates prior to 1970 are not allowed.</span> 
          <p>
            <a name="1211489" id="1211489"></a>
          </p>
        </li>
        <li>
          JavaScript depends on platform-specific date facilities and behavior; the behavior of the <span class="mono">Date</span> object varies from platform to platform.
        </li>
      </ul><br>
       <a name="1193203" id="1193203"></a> <a name="Property Summary" id="Property Summary"></a> <span class="sansserif"><b>Property Summary</b></span><br>
       <a name="1193216" id="1193216"></a> <span class="sansserif"><br></span><br>
       
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr bgcolor="#CCCCCC" align="left" valign="top">
          <th valign="top" align="left">
            <a name="1193206" id="1193206"></a> 
            <p class="alignleft">
              <span class="sansserif"><b>Property</b></span>
            </p>
          </th>
          <th valign="top" align="left">
            <a name="1193208" id="1193208"></a> 
            <p class="alignleft">
              <span class="sansserif"><b>Description</b></span>
            </p>
          </th>
        </tr>
        <tr>
          <td valign="top">
            <a name="1209910" id="1209910"></a> <span class="mono"><a href="date.html#1209532">constructor</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1209912" id="1209912"></a> <span class="sansserif">Specifies the function that creates an object's prototype.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193213" id="1193213"></a> <span class="mono"><a href="date.html#1197095">prototype</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193215" id="1193215"></a> <span class="sansserif">Allows the addition of properties to a <span class="mono">Date</span> object.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193217" id="1193217"></a> <a name="Method Summary" id="Method Summary"></a> <span class="sansserif"><b>Method Summary</b></span><br>
         <a name="1193510" id="1193510"></a> <span class="sansserif"><br></span>
      </p><br>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr bgcolor="#CCCCCC" align="left" valign="top">
          <th valign="top" align="left">
            <a name="1193220" id="1193220"></a> 
            <p class="alignleft">
              <span class="sansserif"><b>Method</b></span>
            </p>
          </th>
          <th valign="top" align="left">
            <a name="1193222" id="1193222"></a> 
            <p class="alignleft">
              <span class="sansserif"><b>Description</b></span>
            </p>
          </th>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193227" id="1193227"></a> <span class="mono"><a href="date.html#1193537">getDate</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193229" id="1193229"></a> <span class="sansserif">Returns the day of the month for the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193234" id="1193234"></a> <span class="mono"><a href="date.html#1193573">getDay</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193236" id="1193236"></a> <span class="sansserif">Returns the day of the week for the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193241" id="1193241"></a> <span class="sansserif"><a href="date.html#1193607">getFullYear</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193243" id="1193243"></a> <span class="sansserif">Returns the year of the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193248" id="1193248"></a> <span class="mono"><a href="date.html#1193644">getHours</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193250" id="1193250"></a> <span class="sansserif">Returns the hour in the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193255" id="1193255"></a> <span class="sansserif"><a href="date.html#1193677">getMilliseconds</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193257" id="1193257"></a> <span class="sansserif">Returns the milliseconds in the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193262" id="1193262"></a> <span class="mono"><a href="date.html#1193710">getMinutes</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193264" id="1193264"></a> <span class="sansserif">Returns the minutes in the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193269" id="1193269"></a> <span class="mono"><a href="date.html#1193744">getMonth</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193271" id="1193271"></a> <span class="sansserif">Returns the month in the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193276" id="1193276"></a> <span class="mono"><a href="date.html#1193778">getSeconds</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193278" id="1193278"></a> <span class="sansserif">Returns the seconds in the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193283" id="1193283"></a> <span class="mono"><a href="date.html#1193811">getTime</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193285" id="1193285"></a> <span class="sansserif">Returns the numeric value corresponding to the time for the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193290" id="1193290"></a> <span class="mono"><a href="date.html#1193844">getTimezoneOffset</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193292" id="1193292"></a> <span class="sansserif">Returns the time-zone offset in minutes for the current locale.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193297" id="1193297"></a> <span class="sansserif"><a href="date.html#1219395">getUTCDate</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193299" id="1193299"></a> <span class="sansserif">Returns the day (date) of the month in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193304" id="1193304"></a> <span class="sansserif"><a href="date.html#1193904">getUTCDay</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193306" id="1193306"></a> <span class="sansserif">Returns the day of the week in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193311" id="1193311"></a> <span class="sansserif"><a href="date.html#1193940">getUTCFullYear</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193313" id="1193313"></a> <span class="sansserif">Returns the year in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193318" id="1193318"></a> <span class="sansserif"><a href="date.html#1193973">getUTCHours</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193320" id="1193320"></a> <span class="sansserif">Returns the hours in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193325" id="1193325"></a> <span class="sansserif"><a href="date.html#1194006">getUTCMilliseconds</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193327" id="1193327"></a> <span class="sansserif">Returns the milliseconds in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193332" id="1193332"></a> <span class="sansserif"><a href="date.html#1194039">getUTCMinutes</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193334" id="1193334"></a> <span class="sansserif">Returns the minutes in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193339" id="1193339"></a> <span class="sansserif"><a href="date.html#1194072">getUTCMonth</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193341" id="1193341"></a> <span class="sansserif">Returns the month according in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193346" id="1193346"></a> <span class="sansserif"><a href="date.html#1194105">getUTCSeconds</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193348" id="1193348"></a> <span class="sansserif">Returns the seconds in the specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193353" id="1193353"></a> <span class="mono"><a href="date.html#1194138">getYear</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193355" id="1193355"></a> <span class="sansserif">Returns the year in the specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193360" id="1193360"></a> <span class="mono"><a href="date.html#1194184">parse</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193362" id="1193362"></a> <span class="sansserif">Returns the number of milliseconds in a date string since January 1, 1970, 00:00:00, local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193367" id="1193367"></a> <span class="mono"><a href="date.html#1194228">setDate</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193369" id="1193369"></a> <span class="sansserif">Sets the day of the month for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193374" id="1193374"></a> <span class="sansserif"><a href="date.html#1194264">setFullYear</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193376" id="1193376"></a> <span class="sansserif">Sets the full year for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193381" id="1193381"></a> <span class="mono"><a href="date.html#1194314">setHours</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193383" id="1193383"></a> <span class="sansserif">Sets the hours for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193388" id="1193388"></a> <span class="sansserif"><a href="date.html#1194367">setMilliseconds</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193390" id="1193390"></a> <span class="sansserif">Sets the milliseconds for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193395" id="1193395"></a> <span class="mono"><a href="date.html#setMinutes">setMinutes</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193397" id="1193397"></a> <span class="sansserif">Sets the minutes for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193402" id="1193402"></a> <span class="mono"><a href="date.html#1194453">setMonth</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193404" id="1193404"></a> <span class="sansserif">Sets the month for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193409" id="1193409"></a> <span class="sansserif"><a href="date.html#1194498">setSeconds</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193411" id="1193411"></a> <span class="sansserif">Sets the seconds for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193416" id="1193416"></a> <span class="sansserif"><a href="date.html#1194543">setTime</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193418" id="1193418"></a> <span class="sansserif">Sets the value of a Date object according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193423" id="1193423"></a> <span class="sansserif"><a href="date.html#1194580">setUTCDate</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193425" id="1193425"></a> <span class="sansserif">Sets the day of the month for a specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193430" id="1193430"></a> <span class="sansserif"><a href="date.html#1194617">setUTCFullYear</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193432" id="1193432"></a> <span class="sansserif">Sets the full year for a specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193437" id="1193437"></a> <span class="sansserif"><a href="date.html#1194663">setUTCHours</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193439" id="1193439"></a> <span class="sansserif">Sets the hour for a specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193444" id="1193444"></a> <span class="sansserif"><a href="date.html#1194713">setUTCMilliseconds</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193446" id="1193446"></a> <span class="sansserif">Sets the milliseconds for a specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193451" id="1193451"></a> <span class="sansserif"><a href="date.html#1194750">setUTCMinutes</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193453" id="1193453"></a> <span class="sansserif">Sets the minutes for a specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193458" id="1193458"></a> <span class="sansserif"><a href="date.html#1194796">setUTCMonth</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193460" id="1193460"></a> <span class="sansserif">Sets the month for a specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193465" id="1193465"></a> <span class="sansserif"><a href="date.html#1194838">setUTCSeconds</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193467" id="1193467"></a> <span class="sansserif">Sets the seconds for a specified date according to universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193472" id="1193472"></a> <span class="mono"><a href="date.html#1194880">setYear</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193474" id="1193474"></a> <span class="sansserif">Sets the year for a specified date according to local time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193479" id="1193479"></a> <span class="mono"><a href="date.html#1194931">toGMTString</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193481" id="1193481"></a> <span class="sansserif">Converts a date to a string, using the Internet GMT conventions.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193486" id="1193486"></a> <span class="mono"><a href="date.html#1194970">toLocaleString</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193488" id="1193488"></a> <span class="sansserif">Converts a date to a string, using the current locale's conventions.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193486" id="1193486"></a> <span class="mono"><a href="date.html#toLocaleDateString">toLocaleDateString</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193488" id="1193488"></a> <span class="sansserif">Returns the "date" portion of the Date as a string, using the current locale's conventions.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193486" id="1193486"></a> <span class="mono"><a href="date.html#toLocaleTimeString">toLocaleTimeString</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193488" id="1193488"></a> <span class="sansserif">Returns the "time" portion of the Date as a string, using the current locale's conventions.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193493" id="1193493"></a> <span class="mono"><a href="date.html#1195016">toSource</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193495" id="1193495"></a> <span class="sansserif">Returns an object literal representing the specified Date object; you can use this value to create a new object. Overrides the <a href="object.html#1193320">Object.toSource</a> method.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1206982" id="1206982"></a> <span class="mono"><a href="date.html#1206669">toString</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1206984" id="1206984"></a> <span class="sansserif">Returns a string representing the specified Date object. Overrides the <a href="object.html#1193350">Object.toString</a> method.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193500" id="1193500"></a> <span class="sansserif"><a href="date.html#1195045">toUTCString</a></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193502" id="1193502"></a> <span class="sansserif">Converts a date to a string, using the universal time convention.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1193507" id="1193507"></a> <span class="mono"><a href="date.html#1195078">UTC</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193509" id="1193509"></a> <span class="sansserif">Returns the number of milliseconds in a <span class="mono">Date</span> object since January 1, 1970, 00:00:00, universal time.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1207445" id="1207445"></a> <span class="mono"><a href="date.html#1206897">valueOf</a></span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1207447" id="1207447"></a> <span class="sansserif">Returns the primitive value of a Date object. Overrides the <a href="object.html#1193540">Object.valueOf</a> method.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <a name="1209135" id="1209135"></a> <span class="sansserif">In addition, this object inherits the <a href="object.html#1193628">watch</a> and <a href="object.html#1193499">unwatch</a> methods from <a href="object.html#1193136">Object</a>.</span>
      </p>
      <p>
        <br>
         <a name="1193511" id="1193511"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193512" id="1193512"></a> <span class="sansserif">The following examples show several ways to assign dates:</span>
      </p>
      <p>
        <a name="1193513" id="1193513"></a> <span class="mono">today = new Date()<br>
         birthday = new Date("December 17, 1995 03:24:00")<br>
         birthday = new Date(95,11,17)<br>
         birthday = new Date(95,11,17,3,24,0)</span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1209532" id="1209532"></a> <a name="constructor" id="constructor"></a> <span class="sansserif"><b>constructor</b></span>
      </p>
      <p>
        <a name="1209533" id="1209533"></a> <span class="sansserif">Specifies the function that creates an object's prototype. Note that the value of this property is a reference to the function itself, not a string containing the function's name.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1209536" id="1209536"></a> <span class="sansserif"><i>Property of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1209541" id="1209541"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1209543" id="1209543"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1209545" id="1209545"></a> <span class="sansserif">JavaScript 1.1, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1209547" id="1209547"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1209549" id="1209549"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1209550" id="1209550"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1209554" id="1209554"></a> <span class="sansserif">See <a href="object.html#1193229">Object.constructor</a>.</span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193537" id="1193537"></a> <a name="getDate" id="getDate"></a> <span class="sansserif"><b>getDate</b></span>
      </p>
      <p>
        <a name="1193550" id="1193550"></a> <span class="sansserif">Returns the day of the month for the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193540" id="1193540"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193545" id="1193545"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193547" id="1193547"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193549" id="1193549"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1202758" id="1202758"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1202760" id="1202760"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193551" id="1193551"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193552" id="1193552"></a> <span class="mono">getDate()</span>
      </p>
      <p>
        <br>
         <a name="1193553" id="1193553"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193554" id="1193554"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193555" id="1193555"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193556" id="1193556"></a> <span class="sansserif">The value returned by <span class="mono">getDate</span> is an integer between 1 and 31.</span>
      </p>
      <p>
        <br>
         <a name="1193557" id="1193557"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193558" id="1193558"></a> <span class="sansserif">The second statement below assigns the value 25 to the variable <span class="mono">day</span>, based on the value of the <span class="mono">Date</span> object <span class="mono">Xmas95</span>.</span>
      </p>
      <p>
        <a name="1193559" id="1193559"></a> <span class="mono">Xmas95 = new Date("December 25, 1995 23:15:00")<br>
         day = Xmas95.getDate()</span>
      </p>
      <p>
        <br>
         <a name="1193560" id="1193560"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193570" id="1193570"></a> <span class="sansserif"><a href="date.html#1219395">Date.getUTCDate</a>, <a href="date.html#1193904">Date.getUTCDay</a>, <a href="date.html#1194228">Date.setDate</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193573" id="1193573"></a> <a name="getDay" id="getDay"></a> <span class="sansserif"><b>getDay</b></span>
      </p>
      <p>
        <a name="1193587" id="1193587"></a> <span class="sansserif">Returns the day of the week for the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193577" id="1193577"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193582" id="1193582"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193584" id="1193584"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193586" id="1193586"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1202806" id="1202806"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1202808" id="1202808"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193588" id="1193588"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193589" id="1193589"></a> <span class="mono">getDay()</span>
      </p>
      <p>
        <br>
         <a name="1193590" id="1193590"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193591" id="1193591"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193592" id="1193592"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193593" id="1193593"></a> <span class="sansserif">The value returned by <span class="mono">getDay</span> is an integer corresponding to the day of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, and so on.</span>
      </p>
      <p>
        <br>
         <a name="1193594" id="1193594"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193595" id="1193595"></a> <span class="sansserif">The second statement below assigns the value 1 to <span class="mono">weekday</span>, based on the value of the <span class="mono">Date</span> object <span class="mono">Xmas95</span>. December 25, 1995, is a Monday.</span>
      </p>
      <p>
        <a name="1193596" id="1193596"></a> <span class="mono">Xmas95 = new Date("December 25, 1995 23:15:00")<br>
         weekday = Xmas95.getDay()</span>
      </p>
      <p>
        <br>
         <a name="1193597" id="1193597"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193604" id="1193604"></a> <span class="sansserif"><a href="date.html#1193904">Date.getUTCDay</a>, <a href="date.html#1194228">Date.setDate</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193607" id="1193607"></a><a name="getFullYear" id="getFullYear"></a> <span class="sansserif"><b>getFullYear</b></span>
      </p>
      <p>
        <a name="1193620" id="1193620"></a> <span class="sansserif">Returns the year of the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193610" id="1193610"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193615" id="1193615"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193617" id="1193617"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193619" id="1193619"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1202851" id="1202851"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1202853" id="1202853"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193621" id="1193621"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193622" id="1193622"></a> <span class="mono">getFullYear()</span>
      </p>
      <p>
        <br>
         <a name="1193623" id="1193623"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193624" id="1193624"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193625" id="1193625"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193626" id="1193626"></a> <span class="sansserif">The value returned by <span class="mono">getFullYear</span> is an absolute number. For dates between the years 1000 and 9999, <span class="mono">getFullYear</span> returns a four-digit number, for example, 1995. Use this function to make sure a year is compliant with years after 2000.</span>
      </p>
      <p>
        <a name="1193627" id="1193627"></a> <span class="sansserif">Use this method instead of the <span class="mono">getYear</span> method.</span>
      </p>
      <p>
        <br>
         <a name="1193628" id="1193628"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193629" id="1193629"></a> <span class="sansserif">The following example assigns the four-digit value of the current year to the variable <span class="mono">yr</span>.</span>
      </p>
      <p>
        <a name="1193630" id="1193630"></a><span class="mono">var yr;<br>
         Today = new Date();<br>
         yr = Today.getFullYear();</span>
      </p>
      <p>
        <br>
         <a name="1193631" id="1193631"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193641" id="1193641"></a> <span class="sansserif"><a href="date.html#1194138">Date.getYear</a>, <a href="date.html#1193940">Date.getUTCFullYear</a> <span class="mono">,</span> <a href="date.html#1194264">Date.setFullYear</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193644" id="1193644"></a> <a name="getHours" id="getHours"></a> <span class="sansserif"><b>getHours</b></span>
      </p>
      <p>
        <a name="1193657" id="1193657"></a> <span class="sansserif">Returns the hour for the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193647" id="1193647"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193652" id="1193652"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193654" id="1193654"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193656" id="1193656"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1202860" id="1202860"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1202862" id="1202862"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193658" id="1193658"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193659" id="1193659"></a> <span class="mono">getHours()</span>
      </p>
      <p>
        <br>
         <a name="1193660" id="1193660"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193661" id="1193661"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193662" id="1193662"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193663" id="1193663"></a> <span class="sansserif">The value returned by <span class="mono">getHours</span> is an integer between 0 and 23.</span>
      </p>
      <p>
        <br>
         <a name="1193664" id="1193664"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193665" id="1193665"></a> <span class="sansserif">The second statement below assigns the value 23 to the variable <span class="mono">hours</span>, based on the value of the <span class="mono">Date</span> object <span class="mono">Xmas95</span>.</span>
      </p>
      <p>
        <a name="1193666" id="1193666"></a> <span class="mono">Xmas95 = new Date("December 25, 1995 23:15:00")<br>
         hours = Xmas95.getHours()</span>
      </p>
      <p>
        <br>
         <a name="1193667" id="1193667"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193674" id="1193674"></a> <span class="sansserif"><a href="date.html#1193973">Date.getUTCHours</a>, <a href="date.html#1194314">Date.setHours</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193677" id="1193677"></a> <a name="getMilliseconds" id="getMilliseconds"></a><span class="sansserif"><b>getMilliseconds</b></span>
      </p>
      <p>
        <a name="1193690" id="1193690"></a> <span class="sansserif">Returns the milliseconds in the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193680" id="1193680"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193685" id="1193685"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193687" id="1193687"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193689" id="1193689"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203092" id="1203092"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203094" id="1203094"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193691" id="1193691"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193692" id="1193692"></a> <span class="mono">getMilliseconds()</span>
      </p>
      <p>
        <br>
         <a name="1193693" id="1193693"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193694" id="1193694"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193695" id="1193695"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193696" id="1193696"></a> <span class="sansserif">The value returned by <span class="mono">getMilliseconds</span> is a number between 0 and 999.</span>
      </p>
      <p>
        <br>
         <a name="1193697" id="1193697"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193698" id="1193698"></a> <span class="sansserif">The following example assigns the milliseconds portion of the current time to the variable <span class="mono">ms</span>.</span>
      </p>
      <p>
        <a name="1193699" id="1193699"></a><span class="mono">var ms;<br>
         Today = new Date();<br>
         ms = Today.getMilliseconds();</span>
      </p>
      <p>
        <br>
         <a name="1193700" id="1193700"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193707" id="1193707"></a> <span class="sansserif"><a href="date.html#1194006">Date.getUTCMilliseconds</a> <span class="mono">,</span> <a href="date.html#1194367">Date.setMilliseconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193710" id="1193710"></a> <a name="getMinutes" id="getMinutes"></a> <span class="sansserif"><b>getMinutes</b></span>
      </p>
      <p>
        <a name="1193724" id="1193724"></a> <span class="sansserif">Returns the minutes in the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193714" id="1193714"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193719" id="1193719"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193721" id="1193721"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193723" id="1193723"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203117" id="1203117"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203119" id="1203119"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193725" id="1193725"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193726" id="1193726"></a> <span class="mono">getMinutes()</span>
      </p>
      <p>
        <br>
         <a name="1193727" id="1193727"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193728" id="1193728"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193729" id="1193729"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193730" id="1193730"></a> <span class="sansserif">The value returned by <span class="mono">getMinutes</span> is an integer between 0 and 59.</span>
      </p>
      <p>
        <br>
         <a name="1193731" id="1193731"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193732" id="1193732"></a> <span class="sansserif">The second statement below assigns the value 15 to the variable <span class="mono">minutes</span>, based on the value of the <span class="mono">Date</span> object <span class="mono">Xmas95</span>.</span>
      </p>
      <p>
        <a name="1193733" id="1193733"></a> <span class="mono">Xmas95 = new Date("December 25, 1995 23:15:00")<br>
         minutes = Xmas95.getMinutes()</span>
      </p>
      <p>
        <br>
         <a name="1193734" id="1193734"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193741" id="1193741"></a> <span class="sansserif"><a href="date.html#1194039">Date.getUTCMinutes</a>, <a href="date.html#setMinutes">Date.setMinutes</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193744" id="1193744"></a> <a name="getMonth" id="getMonth"></a> <span class="sansserif"><b>getMonth</b></span>
      </p>
      <p>
        <a name="1193758" id="1193758"></a> <span class="sansserif">Returns the month in the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193748" id="1193748"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193753" id="1193753"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193755" id="1193755"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193757" id="1193757"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203134" id="1203134"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203136" id="1203136"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193759" id="1193759"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193760" id="1193760"></a> <span class="mono">getMonth()</span>
      </p>
      <p>
        <br>
         <a name="1193761" id="1193761"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193762" id="1193762"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193763" id="1193763"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193764" id="1193764"></a> <span class="sansserif">The value returned by <span class="mono">getMonth</span> is an integer between 0 and 11. 0 corresponds to January, 1 to February, and so on.</span>
      </p>
      <p>
        <br>
         <a name="1193765" id="1193765"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193766" id="1193766"></a> <span class="sansserif">The second statement below assigns the value 11 to the variable <span class="mono">month</span>, based on the value of the <span class="mono">Date</span> object <span class="mono">Xmas95</span>.</span>
      </p>
      <p>
        <a name="1193767" id="1193767"></a> <span class="mono">Xmas95 = new Date("December 25, 1995 23:15:00")<br>
         month = Xmas95.getMonth()</span>
      </p>
      <p>
        <br>
         <a name="1193768" id="1193768"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193775" id="1193775"></a> <span class="sansserif"><a href="date.html#1194072">Date.getUTCMonth</a>, <a href="date.html#1194453">Date.setMonth</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193778" id="1193778"></a> <a name="getSeconds" id="getSeconds"></a> <span class="sansserif"><b>getSeconds</b></span>
      </p>
      <p>
        <a name="1193791" id="1193791"></a> <span class="sansserif">Returns the seconds in the current time according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193781" id="1193781"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193786" id="1193786"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193788" id="1193788"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193790" id="1193790"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203151" id="1203151"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203153" id="1203153"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193792" id="1193792"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193793" id="1193793"></a> <span class="mono">getSeconds()</span>
      </p>
      <p>
        <br>
         <a name="1193794" id="1193794"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193795" id="1193795"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193796" id="1193796"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193797" id="1193797"></a> <span class="sansserif">The value returned by <span class="mono">getSeconds</span> is an integer between 0 and 59.</span>
      </p>
      <p>
        <br>
         <a name="1193798" id="1193798"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193799" id="1193799"></a> <span class="sansserif">The second statement below assigns the value 30 to the variable <span class="mono">secs</span>, based on the value of the <span class="mono">Date</span> object <span class="mono">Xmas95</span>.</span>
      </p>
      <p>
        <a name="1193800" id="1193800"></a> <span class="mono">Xmas95 = new Date("December 25, 1995 23:15:30")<br>
         secs = Xmas95.getSeconds()</span>
      </p>
      <p>
        <br>
         <a name="1193801" id="1193801"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193808" id="1193808"></a> <span class="sansserif"><a href="date.html#1194105">Date.getUTCSeconds</a>, <a href="date.html#1194498">Date.setSeconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193811" id="1193811"></a> <a name="getTime" id="getTime"></a> <span class="sansserif"><b>getTime</b></span>
      </p>
      <p>
        <a name="1193812" id="1193812"></a> <span class="sansserif">Returns the numeric value corresponding to the time for the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193815" id="1193815"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193820" id="1193820"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193822" id="1193822"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193824" id="1193824"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203164" id="1203164"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203166" id="1203166"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193825" id="1193825"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193826" id="1193826"></a> <span class="mono">getTime()</span>
      </p>
      <p>
        <br>
         <a name="1193827" id="1193827"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193828" id="1193828"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193829" id="1193829"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193830" id="1193830"></a> <span class="sansserif">The value returned by the <span class="mono">getTime</span> method is the number of milliseconds since 1 January 1970 00:00:00. You can use this method to help assign a date and time to another <span class="mono">Date</span> object.</span>
      </p>
      <p>
        <br>
         <a name="1193831" id="1193831"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193832" id="1193832"></a> <span class="sansserif">The following example assigns the date value of <span class="mono">theBigDay</span> to <span class="mono">sameAsBigDay</span>:</span>
      </p>
      <p>
        <a name="1193833" id="1193833"></a> <span class="mono">theBigDay = new Date("July 1, 1999")<br>
         sameAsBigDay = new Date()<br>
         sameAsBigDay.setTime(theBigDay.getTime())</span>
      </p>
      <p>
        <br>
         <a name="1193834" id="1193834"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193841" id="1193841"></a> <span class="sansserif"><a href="date.html#1193973">Date.getUTCHours</a>, <a href="date.html#1194543">Date.setTime</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193844" id="1193844"></a> <a name="getTimezoneOffset" id="getTimezoneOffset"></a> <span class="sansserif"><b>getTimezoneOffset</b></span>
      </p>
      <p>
        <a name="1193857" id="1193857"></a> <span class="sansserif">Returns the time-zone offset in minutes for the current locale.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193847" id="1193847"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193852" id="1193852"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193854" id="1193854"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193856" id="1193856"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203462" id="1203462"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203464" id="1203464"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193858" id="1193858"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193859" id="1193859"></a> <span class="mono">getTimezoneOffset()</span>
      </p>
      <p>
        <br>
         <a name="1193860" id="1193860"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193861" id="1193861"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193862" id="1193862"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193863" id="1193863"></a> <span class="sansserif">The time-zone offset is the difference between local time and Greenwich Mean Time (GMT). Daylight savings time prevents this value from being a constant.</span>
      </p>
      <p>
        <br>
         <a name="1193864" id="1193864"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193865" id="1193865"></a><span class="mono">x = new Date()<br>
         currentTimeZoneOffsetInHours = x.getTimezoneOffset()/60</span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1219395" id="1219395"></a><a name="getUTCDate" id="getUTCDate"></a> <span class="sansserif"><b>getUTCDate</b></span>
      </p>
      <p>
        <a name="1219396" id="1219396"></a> <span class="sansserif">Returns the day (date) of the month in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1219399" id="1219399"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1219404" id="1219404"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1219406" id="1219406"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1219408" id="1219408"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1219410" id="1219410"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1219412" id="1219412"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1219413" id="1219413"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193883" id="1193883"></a> <span class="mono">getUTCDate()</span>
      </p>
      <p>
        <br>
         <a name="1193884" id="1193884"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193885" id="1193885"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193886" id="1193886"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193887" id="1193887"></a> <span class="sansserif">The value returned by <span class="mono">getUTCDate</span> is an integer between 1 and 31.</span>
      </p>
      <p>
        <br>
         <a name="1193888" id="1193888"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193889" id="1193889"></a> <span class="sansserif">The following example assigns the day portion of the current date to the variable <span class="mono">d</span>.</span>
      </p>
      <p>
        <a name="1193890" id="1193890"></a><span class="mono">var d;<br>
         Today = new Date();<br>
         d = Today.getUTCDate();</span>
      </p>
      <p>
        <br>
         <a name="1193891" id="1193891"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193901" id="1193901"></a> <span class="sansserif"><a href="date.html#1193537">Date.getDate</a> <span class="mono">,</span> <a href="date.html#1193904">Date.getUTCDay</a> <span class="mono">,</span> <a href="date.html#1194580">Date.setUTCDate</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193904" id="1193904"></a> <a name="getUTCDay" id="getUTCDay"></a> <span class="sansserif"><b>getUTCDay</b></span>
      </p>
      <p>
        <a name="1193905" id="1193905"></a> <span class="sansserif">Returns the day of the week in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193908" id="1193908"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193913" id="1193913"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193915" id="1193915"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193917" id="1193917"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203533" id="1203533"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203535" id="1203535"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193918" id="1193918"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193919" id="1193919"></a> <span class="mono">getUTCDay()</span>
      </p>
      <p>
        <br>
         <a name="1193920" id="1193920"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193921" id="1193921"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193922" id="1193922"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193923" id="1193923"></a> <span class="sansserif">The value returned by <span class="mono">getUTCDay</span> is an integer corresponding to the day of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, and so on.</span>
      </p>
      <p>
        <br>
         <a name="1193924" id="1193924"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193925" id="1193925"></a> <span class="sansserif">The following example assigns the weekday portion of the current date to the variable <span class="mono">ms</span>.</span>
      </p>
      <p>
        <a name="1193926" id="1193926"></a><span class="mono">var weekday;<br>
         Today = new Date()<br>
         weekday = Today.getUTCDay()</span>
      </p>
      <p>
        <br>
         <a name="1193927" id="1193927"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193937" id="1193937"></a> <span class="sansserif"><a href="date.html#1193573">Date.getDay</a> <span class="mono">,</span> <a href="date.html#1219395">Date.getUTCDate</a> <span class="mono">,</span> <a href="date.html#1194580">Date.setUTCDate</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193940" id="1193940"></a> <a name="getUTCFullYear" id="getUTCFullYear"></a> <span class="sansserif"><b>getUTCFullYear</b></span>
      </p>
      <p>
        <a name="1193953" id="1193953"></a> <span class="sansserif">Returns the year in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193943" id="1193943"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193948" id="1193948"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193950" id="1193950"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193952" id="1193952"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203562" id="1203562"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203564" id="1203564"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193954" id="1193954"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193955" id="1193955"></a> <span class="mono">getUTCFullYear()</span>
      </p>
      <p>
        <br>
         <a name="1193956" id="1193956"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193957" id="1193957"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193958" id="1193958"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193959" id="1193959"></a> <span class="sansserif">The value returned by <span class="mono">getUTCFullYear</span> is an absolute number that is compliant with year-2000, for example, 1995.</span>
      </p>
      <p>
        <br>
         <a name="1193960" id="1193960"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193961" id="1193961"></a> <span class="sansserif">The following example assigns the four-digit value of the current year to the variable <span class="mono">yr</span>.</span>
      </p>
      <p>
        <a name="1193962" id="1193962"></a><span class="mono">var yr;<br>
         Today = new Date();<br>
         yr = Today.getUTCFullYear();</span>
      </p>
      <p>
        <br>
         <a name="1193963" id="1193963"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1193970" id="1193970"></a> <span class="sansserif"><a href="date.html#1193607">Date.getFullYear</a> <span class="mono">,</span> <a href="date.html#1194264">Date.setFullYear</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1193973" id="1193973"></a> <a name="getUTCHours" id="getUTCHours"></a> <span class="sansserif"><b>getUTCHours</b></span>
      </p>
      <p>
        <a name="1193974" id="1193974"></a> <span class="sansserif">Returns the hours in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1193977" id="1193977"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193982" id="1193982"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1193984" id="1193984"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1193986" id="1193986"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203591" id="1203591"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203593" id="1203593"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1193987" id="1193987"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1193988" id="1193988"></a> <span class="mono">getUTCHours()</span>
      </p>
      <p>
        <br>
         <a name="1193989" id="1193989"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1193990" id="1193990"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1193991" id="1193991"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1193992" id="1193992"></a> <span class="sansserif">The value returned by <span class="mono">getUTCHours</span> is an integer between 0 and 23.</span>
      </p>
      <p>
        <br>
         <a name="1193993" id="1193993"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1193994" id="1193994"></a> <span class="sansserif">The following example assigns the hours portion of the current time to the variable <span class="mono">hrs</span>.</span>
      </p>
      <p>
        <a name="1193995" id="1193995"></a><span class="mono">var hrs;<br>
         Today = new Date();<br>
         hrs = Today.getUTCHours();</span>
      </p>
      <p>
        <br>
         <a name="1193996" id="1193996"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194003" id="1194003"></a> <span class="sansserif"><a href="date.html#1193644">Date.getHours</a> <span class="mono">,</span> <a href="date.html#1194663">Date.setUTCHours</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194006" id="1194006"></a> <a name="getUTCMilliseconds" id="getUTCMilliseconds"></a> <span class="sansserif"><b>getUTCMilliseconds</b></span>
      </p>
      <p>
        <a name="1194007" id="1194007"></a> <span class="sansserif">Returns the milliseconds in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194010" id="1194010"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194015" id="1194015"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194017" id="1194017"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194019" id="1194019"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203616" id="1203616"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203618" id="1203618"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194020" id="1194020"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194021" id="1194021"></a> <span class="mono">getUTCMilliSeconds()</span>
      </p>
      <p>
        <br>
         <a name="1194022" id="1194022"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194023" id="1194023"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1194024" id="1194024"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194025" id="1194025"></a> <span class="sansserif">The value returned by <span class="mono">getUTCMilliseconds</span> is an integer between 0 and 999.</span>
      </p>
      <p>
        <br>
         <a name="1194026" id="1194026"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194027" id="1194027"></a> <span class="sansserif">The following example assigns the milliseconds portion of the current time to the variable <span class="mono">ms</span>.</span>
      </p>
      <p>
        <a name="1194028" id="1194028"></a><span class="mono">var ms;<br>
         Today = new Date();<br>
         ms = Today.getUTCMilliseconds();</span>
      </p>
      <p>
        <br>
         <a name="1194029" id="1194029"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194036" id="1194036"></a> <span class="sansserif"><a href="date.html#1193677">Date.getMilliseconds</a> <span class="mono">,</span> <a href="date.html#1194713">Date.setUTCMilliseconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194039" id="1194039"></a> <a name="getUTCMinutes" id="getUTCMinutes"></a> <span class="sansserif"><b>getUTCMinutes</b></span>
      </p>
      <p>
        <a name="1194040" id="1194040"></a> <span class="sansserif">Returns the minutes in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194043" id="1194043"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194048" id="1194048"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194050" id="1194050"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194052" id="1194052"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203645" id="1203645"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203647" id="1203647"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194053" id="1194053"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194054" id="1194054"></a> <span class="mono">getUTCMinutes()</span>
      </p>
      <p>
        <br>
         <a name="1194055" id="1194055"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194056" id="1194056"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1194057" id="1194057"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194058" id="1194058"></a> <span class="sansserif">The value returned by <span class="mono">getUTCMinutes</span> is an integer between 0 and 59.</span>
      </p>
      <p>
        <br>
         <a name="1194059" id="1194059"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194060" id="1194060"></a> <span class="sansserif">The following example assigns the minutes portion of the current time to the variable <span class="mono">min</span>.</span>
      </p>
      <p>
        <a name="1194061" id="1194061"></a><span class="mono">var min;<br>
         Today = new Date();<br>
         min = Today.getUTCMinutes();</span>
      </p>
      <p>
        <br>
         <a name="1194062" id="1194062"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194069" id="1194069"></a> <span class="sansserif"><a href="date.html#1193710">Date.getMinutes</a> <span class="mono">,</span> <a href="date.html#1194750">Date.setUTCMinutes</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194072" id="1194072"></a> <a name="getUTCMonth" id="getUTCMonth"></a> <span class="sansserif"><b>getUTCMonth</b></span>
      </p>
      <p>
        <a name="1194073" id="1194073"></a> <span class="sansserif">Returns the month according in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194076" id="1194076"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194081" id="1194081"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194083" id="1194083"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194085" id="1194085"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204375" id="1204375"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204377" id="1204377"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194086" id="1194086"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194087" id="1194087"></a> <span class="mono">getUTCMonth()</span>
      </p>
      <p>
        <br>
         <a name="1194088" id="1194088"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194089" id="1194089"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1194090" id="1194090"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194091" id="1194091"></a> <span class="sansserif">The value returned by <span class="mono">getUTCMonth</span> is an integer between 0 and 11 corresponding to the month. 0 for January, 1 for February, 2 for March, and so on.</span>
      </p>
      <p>
        <br>
         <a name="1194092" id="1194092"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194093" id="1194093"></a> <span class="sansserif">The following example assigns the month portion of the current date to the variable <span class="mono">mon</span>.</span>
      </p>
      <p>
        <a name="1194094" id="1194094"></a><span class="mono">var mon;<br>
         Today = new Date();<br>
         mon = Today.getUTCMonth();</span>
      </p>
      <p>
        <br>
         <a name="1194095" id="1194095"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194102" id="1194102"></a> <span class="sansserif"><a href="date.html#1193744">Date.getMonth</a> <span class="mono">,</span> <a href="date.html#1194796">Date.setUTCMonth</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194105" id="1194105"></a><a name="getUTCSeconds" id="getUTCSeconds"></a> font face="Arial, Helvetica, sans-serif" size= "4"&gt;<b>getUTCSeconds</b>
      </p>
      <p>
        <a name="1194106" id="1194106"></a> <span class="sansserif">Returns the seconds in the specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194109" id="1194109"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194114" id="1194114"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194116" id="1194116"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194118" id="1194118"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204513" id="1204513"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204515" id="1204515"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194119" id="1194119"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194120" id="1194120"></a> <span class="mono">getUTCSeconds()</span>
      </p>
      <p>
        <br>
         <a name="1194121" id="1194121"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194122" id="1194122"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1194123" id="1194123"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194124" id="1194124"></a> <span class="sansserif">The value returned by <span class="mono">getUTCSeconds</span> is an integer between 0 and 59.</span>
      </p>
      <p>
        <br>
         <a name="1194125" id="1194125"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194126" id="1194126"></a> <span class="sansserif">The following example assigns the seconds portion of the current time to the variable <span class="mono">sec</span>.</span>
      </p>
      <p>
        <a name="1194127" id="1194127"></a><span class="mono">var sec;<br>
         Today = new Date();<br>
         sec = Today.getUTCSeconds();</span>
      </p>
      <p>
        <br>
         <a name="1194128" id="1194128"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194135" id="1194135"></a> <span class="sansserif"><a href="date.html#1193778">Date.getSeconds</a> <span class="mono">,</span> <a href="date.html#1194838">Date.setUTCSeconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194138" id="1194138"></a> <a name="getYear" id="getYear"></a> <span class="sansserif"><b>getYear</b></span>
      </p>
      <p>
        <a name="1194151" id="1194151"></a> <span class="sansserif">Returns the year in the specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194141" id="1194141"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194146" id="1194146"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194148" id="1194148"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194150" id="1194150"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199475" id="1199475"></a>
            </p>
            <p>
              <a name="1197470" id="1197470"></a> <span class="sansserif">JavaScript 1.3: deprecated; also, <span class="mono">getYear</span> returns the year minus 1900 regardless of the year specified</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203654" id="1203654"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203656" id="1203656"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194152" id="1194152"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194153" id="1194153"></a> <span class="mono">getYear()</span>
      </p>
      <p>
        <br>
         <a name="1194154" id="1194154"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194155" id="1194155"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1194156" id="1194156"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1197719" id="1197719"></a> <span class="sansserif"><span class="mono">getYear</span> is no longer used and has been replaced by the <a href="date.html#1193607">getFullYear</a> method.</span>
      </p>
      <p>
        <a name="1194157" id="1194157"></a> <span class="sansserif">The <span class="mono">getYear</span> method returns the year minus 1900; thus:</span>
      </p>
      <ul>
        <li class="nobullet">
          <a name="1218998" id="1218998"></a>
        </li>
        <li>
          <span class="sansserif">For years above 2000, the value returned by <span class="mono">getYear</span> is 100 or greater. For example, if the year is 2026, <span class="mono">getYear</span> returns 126.</span> 
          <p>
            <a name="1194158" id="1194158"></a>
          </p>
        </li>
        <li>
          <span class="sansserif">For years between and including 1900 and 1999, the value returned by <span class="mono">getYear</span> is between 0 and 99. For example, if the year is 1976, <span class="mono">getYear</span> returns 76.</span> 
          <p>
            <a name="1219077" id="1219077"></a>
          </p>
        </li>
        <li>
          For years less than 1900 or greater than 1999, the value returned by <span class="mono">getYear</span> is less than 0. For example, if the year is 1800, <span class="mono">getYear</span> returns -100.
        </li>
      </ul><a name="1219078" id="1219078"></a> <span class="sansserif">To take into account years before and after 2000, you should use <a href="date.html#1193607">Date.getFullYear</a> instead of <span class="mono">getYear</span> so that the year is specified in full.</span> 
      <p>
        <br>
         <a name="1218150" id="1218150"></a> <a name="Backward Compatibility" id="Backward Compatibility"></a> <span class="sansserif"><b>Backward Compatibility</b></span><br>
      </p>
      <p>
        <a name="1218151" id="1218151"></a> <span class="sansserif"><b>JavaScript 1.2 and earlier versions.</b></span> <a name="1218744" id="1218744"></a> <span class="sansserif">The <span class="mono">getYear</span> method returns either a 2-digit or 4-digit year:</span>
      </p>
      <ul>
        <li class="nobullet">
          <a name="1218745" id="1218745"></a>
        </li>
        <li>
          <span class="sansserif">For years between and including 1900 and 1999, the value returned by <span class="mono">getYear</span> is the year minus 1900. For example, if the year is 1976, the value returned is 76.</span> 
          <p>
            <a name="1218746" id="1218746"></a>
          </p>
        </li>
        <li>
          For years less than 1900 or greater than 1999, the value returned by <span class="mono">getYear</span> is the four-digit year. For example, if the year is 1856, the value returned is 1856. If the year is 2026, the value returned is 2026.
        </li>
      </ul><br>
       <a name="1194164" id="1194164"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
       <a name="1194165" id="1194165"></a> <span class="sansserif"><b>Example 1.</b> The second statement assigns the value 95 to the variable <span class="mono">year</span>.</span> 
      <p>
        <a name="1194166" id="1194166"></a> <span class="mono">Xmas = new Date("December 25, 1995 23:15:00")<br>
         year = Xmas.getYear() // returns 95</span>
      </p>
      <p>
        <a name="1194167" id="1194167"></a> <span class="sansserif"><b>Example 2.</b> The second statement assigns the value 100 to the variable <span class="mono">year</span>.</span>
      </p>
      <p>
        <a name="1194168" id="1194168"></a> <span class="mono">Xmas = new Date("December 25, 2000 23:15:00")<br>
         year = Xmas.getYear() // returns 100</span>
      </p>
      <p>
        <a name="1218064" id="1218064"></a> <span class="sansserif"><b>Example 3.</b> The second statement assigns the value -100 to the variable <span class="mono">year</span>.</span>
      </p>
      <p>
        <a name="1218065" id="1218065"></a> <span class="mono">Xmas = new Date("December 25, 1800 23:15:00")<br>
         year = Xmas.getYear() // returns -100</span>
      </p>
      <p>
        <a name="1194169" id="1194169"></a> <span class="sansserif"><b>Example 4.</b> The second statement assigns the value 95 to the variable <span class="mono">year</span>, representing the year 1995.</span>
      </p>
      <p>
        <a name="1194170" id="1194170"></a> <span class="mono">Xmas.setYear(95)<br>
         year = Xmas.getYear() // returns 95</span>
      </p>
      <p>
        <br>
         <a name="1194171" id="1194171"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194181" id="1194181"></a> <span class="sansserif"><a href="date.html#1193607">Date.getFullYear</a>, <a href="date.html#1193940">Date.getUTCFullYear</a>, <a href="date.html#1194880">Date.setYear</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194184" id="1194184"></a> <a name="parse" id="parse"></a> <span class="sansserif"><b>parse</b></span>
      </p>
      <p>
        <a name="1194185" id="1194185"></a> <span class="sansserif">Returns the number of milliseconds in a date string since January 1, 1970, 00:00:00, local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194188" id="1194188"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194193" id="1194193"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top" colspan="2" rowspan="1">
            <p>
              <a name="1194195" id="1194195"></a> <span class="sansserif"><i>Static</i></span>
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194199" id="1194199"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194201" id="1194201"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203659" id="1203659"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203661" id="1203661"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194202" id="1194202"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194203" id="1194203"></a> <span class="mono">Date.parse(<i>dateString</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194204" id="1194204"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194210" id="1194210"></a> <span class="sansserif">:<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194207" id="1194207"></a> <span class="mono">dateString</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194209" id="1194209"></a> <span class="sansserif">A string representing a date.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194211" id="1194211"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194212" id="1194212"></a> <span class="sansserif">The <span class="mono">parse</span> method takes a date string (such as <span class="mono">"Dec 25, 1995"</span>) and returns the number of milliseconds since January 1, 1970, 00:00:00 (local time). This function is useful for setting date values based on string values, for example in conjunction with the <a href="date.html#1194543">setTime</a> method and the <span class="mono">Date</span> object.</span>
      </p>
      <p>
        <a name="1194216" id="1194216"></a> <span class="sansserif">Given a string representing a time, <span class="mono">parse</span> returns the time value. It accepts the IETF standard date syntax: <span class="mono">"Mon, 25 Dec 1995 13:30:00 GMT"</span>. It understands the continental US time-zone abbreviations, but for general use, use a time-zone offset, for example, <span class="mono">"Mon, 25 Dec 1995 13:30:00 GMT+0430"</span> (4 hours, 30 minutes west of the Greenwich meridian). If you do not specify a time zone, the local time zone is assumed. GMT and UTC are considered equivalent.</span>
      </p>
      <p>
        <a name="1194217" id="1194217"></a> <span class="sansserif">Because <span class="mono">parse</span> is a static method of <span class="mono">Date</span>, you always use it as <span class="mono">Date.parse()</span>, rather than as a method of a <span class="mono">Date</span> object you created.</span>
      </p>
      <p>
        <br>
         <a name="1194218" id="1194218"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194219" id="1194219"></a> <span class="sansserif">If <span class="mono">IPOdate</span> is an existing <span class="mono">Date</span> object, then you can set it to August 9, 1995 as follows:</span>
      </p>
      <p>
        <a name="1194220" id="1194220"></a> <span class="mono">IPOdate.setTime(Date.parse("Aug 9, 1995"))</span>
      </p>
      <p>
        <br>
         <a name="1194221" id="1194221"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194225" id="1194225"></a> <span class="sansserif"><a href="date.html#1195078">Date.UTC</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1197095" id="1197095"></a> <a name="prototype" id="prototype"></a> <span class="sansserif"><b>prototype</b></span>
      </p>
      <p>
        <a name="1197096" id="1197096"></a> <span class="sansserif">Represents the prototype for this class. You can use the prototype to add properties or methods to all instances of a class. For information on prototypes, see <a href="function.html#1193426">Function.prototype</a>.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1230389" id="1230389"></a> <span class="sansserif"><i>Property of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1230394" id="1230394"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1230396" id="1230396"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1230398" id="1230398"></a> <span class="sansserif">JavaScript 1.1, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1230400" id="1230400"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1230402" id="1230402"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
      </p>
      <p>
        <a name="1194228" id="1194228"></a> <a name="setDate" id="setDate"></a> <span class="sansserif"><b>setDate</b></span>
      </p>
      <p>
        <a name="1194241" id="1194241"></a> <span class="sansserif">Sets the day of the month for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194231" id="1194231"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194236" id="1194236"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194238" id="1194238"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194240" id="1194240"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203730" id="1203730"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203732" id="1203732"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194242" id="1194242"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194243" id="1194243"></a> <span class="mono">setDate(<i>dayValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194244" id="1194244"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194250" id="1194250"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194247" id="1194247"></a> <span class="mono">dayValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194249" id="1194249"></a> <span class="sansserif">An integer from 1 to 31, representing the day of the month.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194251" id="1194251"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194252" id="1194252"></a> <span class="sansserif">The second statement below changes the day for <span class="mono">theBigDay</span> to July 24 from its original value.</span>
      </p>
      <p>
        <a name="1194253" id="1194253"></a> <span class="mono">theBigDay = new Date("July 27, 1962 23:30:00")<br>
         theBigDay.setDate(24)</span>
      </p>
      <p>
        <br>
         <a name="1194254" id="1194254"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194261" id="1194261"></a> <span class="sansserif"><a href="date.html#1193537">Date.getDate</a>, <a href="date.html#1194580">Date.setUTCDate</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194264" id="1194264"></a> <a name="setFullYear" id="setFullYear"></a> <span class="sansserif"><b>setFullYear</b></span>
      </p>
      <p>
        <a name="1194277" id="1194277"></a> <span class="sansserif">Sets the full year for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194267" id="1194267"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194272" id="1194272"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194274" id="1194274"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194276" id="1194276"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203759" id="1203759"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203761" id="1203761"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194278" id="1194278"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194279" id="1194279"></a> <span class="mono">setFullYear(<i>yearValue</i>[, <i>monthValue</i>[, <i>dayValue</i>]])</span>
      </p>
      <p>
        <br>
         <a name="1194280" id="1194280"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194294" id="1194294"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194283" id="1194283"></a> <span class="mono">yearValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194285" id="1194285"></a> <span class="sansserif">An integer specifying the numeric value of the year, for example, 1995.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194287" id="1194287"></a> <span class="mono">monthValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194289" id="1194289"></a> <span class="sansserif">An integer between 0 and 11 representing the months January through December.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194291" id="1194291"></a> <span class="mono">dayValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194293" id="1194293"></a> <span class="sansserif">An integer between 1 and 31 representing the day of the month. If you specify the <span class="mono">dayValue</span> parameter, you must also specify the <span class="mono">monthValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194295" id="1194295"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194296" id="1194296"></a> <span class="sansserif">If you do not specify the <span class="mono">monthValue</span> and <span class="mono">dayValue</span> parameters, the values returned from the <span class="mono">getMonth</span> and <span class="mono">getDate</span> methods are used.</span>
      </p>
      <p>
        <a name="1194297" id="1194297"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setFullYear</span> attempts to update the other parameters and the date information in the <span class="mono">Date</span> object accordingly. For example, if you specify 15 for <span class="mono">monthValue</span>, the year is incremented by 1 (year + 1), and 3 is used for the month.</span>
      </p>
      <p>
        <br>
         <a name="1194299" id="1194299"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194300" id="1194300"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setFullYear(1997);</span>
      </p>
      <p>
        <br>
         <a name="1194301" id="1194301"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194311" id="1194311"></a> <span class="sansserif"><a href="date.html#1193940">Date.getUTCFullYear</a> <span class="mono">,</span><a href="date.html#1194617">Date.setUTCFullYear</a>, <a href="date.html#1194880">Date.setYear</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194314" id="1194314"></a> <a name="setHours" id="setHours"></a> <span class="sansserif"><b>setHours</b></span>
      </p>
      <p>
        <a name="1194328" id="1194328"></a> <span class="sansserif">Sets the hours for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194317" id="1194317"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194322" id="1194322"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194324" id="1194324"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194326" id="1194326"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199481" id="1199481"></a>
            </p>
            <p>
              <a name="1194327" id="1194327"></a> <span class="sansserif">JavaScript 1.3: Added <span class="mono">minutesValue</span>, <span class="mono">secondsValue</span>, and <span class="mono">msValue</span> parameters.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203788" id="1203788"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203790" id="1203790"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194329" id="1194329"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194330" id="1194330"></a> <span class="mono">setHours(<i>hoursValue</i>[, <i>minutesValue</i>[, <i>secondsValue</i>[, <i>msValue</i>]]])</span>
      </p>
      <p>
        <a name="1194331" id="1194331"></a> <span class="sansserif"><i>Versions prior to JavaScript 1.3:</i></span>
      </p>
      <p>
        <a name="1194332" id="1194332"></a> <span class="mono">setHours(<i>hoursValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194333" id="1194333"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194351" id="1194351"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194336" id="1194336"></a> <span class="mono">hoursValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194338" id="1194338"></a> <span class="sansserif">An integer between 0 and 23, representing the hour.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194340" id="1194340"></a> <span class="mono">minutesValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194342" id="1194342"></a> <span class="sansserif">An integer between 0 and 59, representing the minutes.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194344" id="1194344"></a> <span class="mono">secondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194346" id="1194346"></a> <span class="sansserif">An integer between 0 and 59, representing the seconds. If you specify the <span class="mono">secondsValue</span> parameter, you must also specify the <span class="mono">minutesValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194348" id="1194348"></a> <span class="mono">msValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194350" id="1194350"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds. If you specify the <span class="mono">msValue</span> parameter, you must also specify the <span class="mono">minutesValue</span> and <span class="mono">secondsValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194352" id="1194352"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194353" id="1194353"></a> <span class="sansserif">If you do not specify the <span class="mono">minutesValue</span>, <span class="mono">secondsValue</span>, and <span class="mono">msValue</span> parameters, the values returned from the <span class="mono">getUTCMinutes</span>, <span class="mono">getUTCSeconds</span>, and <span class="mono">getMilliseconds</span> methods are used.</span>
      </p>
      <p>
        <a name="1194354" id="1194354"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setHours</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 100 for <span class="mono">secondsValue</span>, the minutes will be incremented by 1 (min + 1), and 40 will be used for seconds.</span>
      </p>
      <p>
        <br>
         <a name="1194355" id="1194355"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194356" id="1194356"></a> <span class="mono">theBigDay.setHours(7)</span>
      </p>
      <p>
        <br>
         <a name="1194357" id="1194357"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194364" id="1194364"></a> <span class="sansserif"><a href="date.html#1193644">Date.getHours</a>, <a href="date.html#1194663">Date.setUTCHours</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194367" id="1194367"></a> <a name="setMilliseconds" id="setMilliseconds"></a> <span class="sansserif"><b>setMilliseconds</b></span>
      </p>
      <p>
        <a name="1194380" id="1194380"></a> <span class="sansserif">Sets the milliseconds for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194370" id="1194370"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194375" id="1194375"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194377" id="1194377"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194379" id="1194379"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203813" id="1203813"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203815" id="1203815"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194381" id="1194381"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194382" id="1194382"></a> <span class="mono">setMilliseconds(<i>millisecondsValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194383" id="1194383"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194389" id="1194389"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194386" id="1194386"></a> <span class="mono">millisecondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194388" id="1194388"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194390" id="1194390"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194391" id="1194391"></a> <span class="sansserif">If you specify a number outside the expected range, the date information in the <span class="mono">Date</span> object is updated accordingly. For example, if you specify 1005, the number of seconds is incremented by 1, and 5 is used for the milliseconds.</span>
      </p>
      <p>
        <br>
         <a name="1194392" id="1194392"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194393" id="1194393"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setMilliseconds(100);</span>
      </p>
      <p>
        <br>
         <a name="1194394" id="1194394"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194401" id="1194401"></a> <span class="sansserif"><a href="date.html#1193677">Date.getMilliseconds</a> <span class="mono">,</span> <a href="date.html#1194713">Date.setUTCMilliseconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194404" id="1194404"></a> <a name="setMinutes" id="setMinutes"></a> <span class="sansserif"><b>setMinutes</b></span>
      </p>
      <p>
        <a name="1194418" id="1194418"></a> <span class="sansserif">Sets the minutes for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194407" id="1194407"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194412" id="1194412"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194414" id="1194414"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194416" id="1194416"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199500" id="1199500"></a>
            </p>
            <p>
              <a name="1194417" id="1194417"></a> <span class="sansserif">JavaScript 1.3: Added <span class="mono">secondsValue</span> and <span class="mono">msValue</span> parameters.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203830" id="1203830"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203832" id="1203832"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194419" id="1194419"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194420" id="1194420"></a> <span class="mono">setMinutes(<i>minutesValue</i>[, <i>secondsValue</i>[, <i>msValue</i>]])</span>
      </p>
      <p>
        <a name="1194421" id="1194421"></a> <span class="sansserif"><i>Versions prior to JavaScript 1.3:</i></span>
      </p>
      <p>
        <a name="1194422" id="1194422"></a> <span class="mono">setMinutes(minutesValue)</span>
      </p>
      <p>
        <br>
         <a name="1194423" id="1194423"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194437" id="1194437"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194426" id="1194426"></a> <span class="mono">minutesValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194428" id="1194428"></a> <span class="sansserif">An integer between 0 and 59, representing the minutes.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194430" id="1194430"></a> <span class="mono">secondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194432" id="1194432"></a> <span class="sansserif">An integer between 0 and 59, representing the seconds. If you specify the <span class="mono">secondsValue</span> parameter, you must also specify the <span class="mono">minutesValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194434" id="1194434"></a> <span class="mono">msValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194436" id="1194436"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds. If you specify the <span class="mono">msValue</span> parameter, you must also specify the <span class="mono">minutesValue</span> and <span class="mono">secondsValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194438" id="1194438"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194439" id="1194439"></a> <span class="mono">theBigDay.setMinutes(45)</span>
      </p>
      <p>
        <br>
         <a name="1194440" id="1194440"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194441" id="1194441"></a> <span class="sansserif">If you do not specify the <span class="mono">secondsValue</span> and <span class="mono">msValue</span> parameters, the values returned from <span class="mono">getSeconds</span> and <span class="mono">getMilliseconds</span> methods are used.</span>
      </p>
      <p>
        <a name="1194442" id="1194442"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setMinutes</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 100 for <span class="mono">secondsValue</span>, the minutes (<span class="mono">minutesValue</span>) will be incremented by 1 (<span class="mono">minutesValue</span> + 1), and 40 will be used for seconds.</span>
      </p>
      <p>
        <br>
         <a name="1194443" id="1194443"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194450" id="1194450"></a> <span class="sansserif"><a href="date.html#1193710">Date.getMinutes</a>, <a href="date.html#1194713">Date.setUTCMilliseconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194453" id="1194453"></a> <a name="setMonth" id="setMonth"></a> <span class="sansserif"><b>setMonth</b></span>
      </p>
      <p>
        <a name="1194467" id="1194467"></a> <span class="sansserif">Sets the month for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194456" id="1194456"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194461" id="1194461"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194463" id="1194463"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194465" id="1194465"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199528" id="1199528"></a>
            </p>
            <p>
              <a name="1194466" id="1194466"></a> <span class="sansserif">JavaScript 1.3: Added <span class="mono">dayValue</span> parameter.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203843" id="1203843"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203845" id="1203845"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194468" id="1194468"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194469" id="1194469"></a> <span class="mono">setMonth(<i>monthValue</i>[, <i>dayValue</i>])</span>
      </p>
      <p>
        <a name="1194470" id="1194470"></a> <span class="sansserif"><i>Versions prior to JavaScript 1.3:</i></span>
      </p>
      <p>
        <a name="1194471" id="1194471"></a> <span class="mono">setMonth(<i>monthValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194472" id="1194472"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194482" id="1194482"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194475" id="1194475"></a> <span class="mono">monthValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194477" id="1194477"></a> <span class="sansserif">An integer between 0 and 11 (representing the months January through December).</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194479" id="1194479"></a> <span class="mono">dayValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194481" id="1194481"></a> <span class="sansserif">An integer from 1 to 31, representing the day of the month.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194483" id="1194483"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194484" id="1194484"></a> <span class="sansserif">If you do not specify the <span class="mono">dayValue</span> parameter, the value returned from the <span class="mono">getDate</span> method is used.</span>
      </p>
      <p>
        <a name="1194485" id="1194485"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setMonth</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 15 for <span class="mono">monthValue</span>, the year will be incremented by 1 (year + 1), and 3 will be used for month.</span>
      </p>
      <p>
        <br>
         <a name="1194486" id="1194486"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194487" id="1194487"></a> <span class="mono">theBigDay.setMonth(6)</span>
      </p>
      <p>
        <br>
         <a name="1194488" id="1194488"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194495" id="1194495"></a> <span class="sansserif"><a href="date.html#1193744">Date.getMonth</a>, <a href="date.html#1194796">Date.setUTCMonth</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194498" id="1194498"></a> <a name="setSeconds" id="setSeconds"></a> <span class="sansserif"><b>setSeconds</b></span>
      </p>
      <p>
        <a name="1194512" id="1194512"></a> <span class="sansserif">Sets the seconds for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194501" id="1194501"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194506" id="1194506"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194508" id="1194508"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194510" id="1194510"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199555" id="1199555"></a>
            </p>
            <p>
              <a name="1194511" id="1194511"></a> <span class="sansserif">JavaScript 1.3: Added <span class="mono">msValue</span> parameter.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203881" id="1203881"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203883" id="1203883"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194513" id="1194513"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194514" id="1194514"></a> <span class="mono">setSeconds(<i>secondsValue</i>[, <i>msValue</i>])</span>
      </p>
      <p>
        <a name="1194515" id="1194515"></a> <span class="sansserif"><i>Versions prior to JavaScript 1.3:</i></span>
      </p>
      <p>
        <a name="1194516" id="1194516"></a> <span class="mono">setSeconds(<i>secondsValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194517" id="1194517"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194527" id="1194527"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194520" id="1194520"></a> <span class="mono">secondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194522" id="1194522"></a> <span class="sansserif">An integer between 0 and 59.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194524" id="1194524"></a> <span class="mono">msValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194526" id="1194526"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194528" id="1194528"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194529" id="1194529"></a> <span class="sansserif">If you do not specify the <span class="mono">msValue</span> parameter, the value returned from the <span class="mono">getMilliseconds</span> methods is used.</span>
      </p>
      <p>
        <a name="1194530" id="1194530"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setSeconds</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 100 for <span class="mono">secondsValue</span>, the minutes stored in the <span class="mono">Date</span> object will be incremented by 1, and 40 will be used for seconds.</span>
      </p>
      <p>
        <br>
         <a name="1194531" id="1194531"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194532" id="1194532"></a> <span class="mono">theBigDay.setSeconds(30)</span>
      </p>
      <p>
        <br>
         <a name="1194533" id="1194533"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194540" id="1194540"></a> <span class="sansserif"><a href="date.html#1193778">Date.getSeconds</a>, <a href="date.html#1194838">Date.setUTCSeconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194543" id="1194543"></a> <a name="setTime" id="setTime"></a> <span class="sansserif"><b>setTime</b></span>
      </p>
      <p>
        <a name="1194556" id="1194556"></a> <span class="sansserif">Sets the value of a <span class="mono">Date</span> object according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194546" id="1194546"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194551" id="1194551"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194553" id="1194553"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194555" id="1194555"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203910" id="1203910"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203912" id="1203912"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194557" id="1194557"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194558" id="1194558"></a> <span class="mono">setTime(<i>timevalue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194559" id="1194559"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194565" id="1194565"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194562" id="1194562"></a> <span class="mono">timevalue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194564" id="1194564"></a> <span class="sansserif">An integer representing the number of milliseconds since 1 January 1970 00:00:00.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194566" id="1194566"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194567" id="1194567"></a> <span class="sansserif">Use the <span class="mono">setTime</span> method to help assign a date and time to another <span class="mono">Date</span> object.</span>
      </p>
      <p>
        <br>
         <a name="1194568" id="1194568"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194569" id="1194569"></a> <span class="mono">theBigDay = new Date("July 1, 1999")<br>
         sameAsBigDay = new Date()<br>
         sameAsBigDay.setTime(theBigDay.getTime())</span>
      </p>
      <p>
        <br>
         <a name="1194570" id="1194570"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194577" id="1194577"></a> <span class="sansserif"><a href="date.html#1193811">Date.getTime</a>, <a href="date.html#1194663">Date.setUTCHours</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194580" id="1194580"></a> <a name="setUTCDate" id="setUTCDate"></a> <span class="sansserif"><b>setUTCDate</b></span>
      </p>
      <p>
        <a name="1194581" id="1194581"></a> <span class="sansserif">Sets the day of the month for a specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194584" id="1194584"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194589" id="1194589"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194591" id="1194591"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194593" id="1194593"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1203974" id="1203974"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1203976" id="1203976"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194594" id="1194594"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194595" id="1194595"></a> <span class="mono">setUTCDate(<i>dayValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194596" id="1194596"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194602" id="1194602"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194599" id="1194599"></a> <span class="mono">dayValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194601" id="1194601"></a> <span class="sansserif">An integer from 1 to 31, representing the day of the month.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194603" id="1194603"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194604" id="1194604"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setUTCDate</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 40 for <span class="mono">dayValue</span>, and the month stored in the <span class="mono">Date</span> object is June, the day will be changed to 10 and the month will be incremented to July.</span>
      </p>
      <p>
        <br>
         <a name="1194605" id="1194605"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194606" id="1194606"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setUTCDate(20);</span>
      </p>
      <p>
        <br>
         <a name="1194607" id="1194607"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194614" id="1194614"></a> <span class="sansserif"><a href="date.html#1219395">Date.getUTCDate</a> <span class="mono">,</span> <a href="date.html#1194228">Date.setDate</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194617" id="1194617"></a> <a name="setUTCFullYear" id="setUTCFullYear"></a> <span class="sansserif"><b>setUTCFullYear</b></span>
      </p>
      <p>
        <a name="1194630" id="1194630"></a> <span class="sansserif">Sets the full year for a specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194620" id="1194620"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194625" id="1194625"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194627" id="1194627"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194629" id="1194629"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204031" id="1204031"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204033" id="1204033"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194631" id="1194631"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194632" id="1194632"></a> <span class="mono">setUTCFullYear(<i>yearValue</i>[, <i>monthValue</i>[, <i>dayValue</i>]])</span>
      </p>
      <p>
        <br>
         <a name="1194633" id="1194633"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194647" id="1194647"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194636" id="1194636"></a> <span class="mono">yearValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194638" id="1194638"></a> <span class="sansserif">An integer specifying the numeric value of the year, for example, 1995.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194640" id="1194640"></a> <span class="mono">monthValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194642" id="1194642"></a> <span class="sansserif">An integer between 0 and 11 representing the months January through December.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194644" id="1194644"></a> <span class="mono">dayValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194646" id="1194646"></a> <span class="sansserif">An integer between 1 and 31 representing the day of the month. If you specify the <span class="mono">dayValue</span> parameter, you must also specify the <span class="mono">monthValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194648" id="1194648"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194649" id="1194649"></a> <span class="sansserif">If you do not specify the <span class="mono">monthValue</span> and <span class="mono">dayValue</span> parameters, the values returned from the <span class="mono">getMonth</span> and <span class="mono">getDate</span> methods are used.</span>
      </p>
      <p>
        <a name="1194650" id="1194650"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setUTCFullYear</span> attempts to update the other parameters and the date information in the <span class="mono">Date</span> object accordingly. For example, if you specify 15 for <span class="mono">monthValue</span>, the year is incremented by 1 (year + 1), and 3 is used for the month.</span>
      </p>
      <p>
        <br>
         <a name="1194651" id="1194651"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194652" id="1194652"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setUTCFullYear(1997);</span>
      </p>
      <p>
        <br>
         <a name="1194653" id="1194653"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194660" id="1194660"></a> <span class="sansserif"><a href="date.html#1193940">Date.getUTCFullYear</a> <span class="mono">,</span> <a href="date.html#1194264">Date.setFullYear</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194663" id="1194663"></a> <a name="setUTCHours" id="setUTCHours"></a> <span class="sansserif"><b>setUTCHours</b></span>
      </p>
      <p>
        <a name="1194676" id="1194676"></a> <span class="sansserif">Sets the hour for a specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194666" id="1194666"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194671" id="1194671"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194673" id="1194673"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194675" id="1194675"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204088" id="1204088"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204090" id="1204090"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194677" id="1194677"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194678" id="1194678"></a> <span class="mono">setUTCHours(<i>hoursValue</i>[, <i>minutesValue</i>[, <i>secondsValue</i>[, <i>msValue</i>]]])</span>
      </p>
      <p>
        <br>
         <a name="1194679" id="1194679"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194697" id="1194697"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194682" id="1194682"></a> <span class="mono">hoursValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194684" id="1194684"></a> <span class="sansserif">An integer between 0 and 23, representing the hour.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194686" id="1194686"></a> <span class="mono">minutesValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194688" id="1194688"></a> <span class="sansserif">An integer between 0 and 59, representing the minutes.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194690" id="1194690"></a> <span class="mono">secondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194692" id="1194692"></a> <span class="sansserif">An integer between 0 and 59, representing the seconds. If you specify the <span class="mono">secondsValue</span> parameter, you must also specify the <span class="mono">minutesValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194694" id="1194694"></a> <span class="mono">msValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194696" id="1194696"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds. If you specify the <span class="mono">msValue</span> parameter, you must also specify the <span class="mono">minutesValue</span> and <span class="mono">secondsValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194698" id="1194698"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194699" id="1194699"></a> <span class="sansserif">If you do not specify the <span class="mono">minutesValue</span>, <span class="mono">secondsValue</span>, and <span class="mono">msValue</span> parameters, the values returned from the <span class="mono">getUTCMinutes</span>, <span class="mono">getUTCSeconds</span>, and <span class="mono">getUTCMilliseconds</span> methods are used.</span>
      </p>
      <p>
        <a name="1194700" id="1194700"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setUTCHours</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 100 for <span class="mono">secondsValue</span>, the minutes will be incremented by 1 (min + 1), and 40 will be used for seconds.</span>
      </p>
      <p>
        <br>
         <a name="1194701" id="1194701"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194702" id="1194702"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setUTCHours(8);</span>
      </p>
      <p>
        <br>
         <a name="1194703" id="1194703"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194710" id="1194710"></a> <span class="sansserif"><a href="date.html#1193973">Date.getUTCHours</a> <span class="mono">,</span> <a href="date.html#1194314">Date.setHours</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194713" id="1194713"></a> <a name="setUTCMilliseconds" id="setUTCMilliseconds"></a> <span class="sansserif"><b>setUTCMilliseconds</b></span>
      </p>
      <p>
        <a name="1194714" id="1194714"></a> <span class="sansserif">Sets the milliseconds for a specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194717" id="1194717"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194722" id="1194722"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194724" id="1194724"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194726" id="1194726"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204133" id="1204133"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204135" id="1204135"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194727" id="1194727"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194728" id="1194728"></a> <span class="mono">setUTCMilliseconds(<i>millisecondsValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194729" id="1194729"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194735" id="1194735"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194732" id="1194732"></a> <span class="mono">millisecondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194734" id="1194734"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194736" id="1194736"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1221173" id="1221173"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setUTCMilliseconds</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 1100 for <span class="mono">millisecondsValue</span>, the seconds stored in the <span class="mono">Date</span> object will be incremented by 1, and 100 will be used for milliseconds.</span>
      </p>
      <p>
        <br>
         <a name="1194738" id="1194738"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194739" id="1194739"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setUTCMilliseconds(500);</span>
      </p>
      <p>
        <br>
         <a name="1194740" id="1194740"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194747" id="1194747"></a> <span class="sansserif"><a href="date.html#1194006">Date.getUTCMilliseconds</a> <span class="mono">,</span> <a href="date.html#1194367">Date.setMilliseconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194750" id="1194750"></a> <a name="setUTCMinutes" id="setUTCMinutes"></a> <span class="sansserif"><b>setUTCMinutes</b></span>
      </p>
      <p>
        <a name="1194763" id="1194763"></a> <span class="sansserif">Sets the minutes for a specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194753" id="1194753"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194758" id="1194758"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194760" id="1194760"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194762" id="1194762"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204174" id="1204174"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204176" id="1204176"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194764" id="1194764"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194765" id="1194765"></a> <span class="mono">setUTCMinutes(<i>minutesValue</i>[, <i>secondsValue</i>[, <i>msValue</i>]])</span>
      </p>
      <p>
        <br>
         <a name="1194766" id="1194766"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194780" id="1194780"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194769" id="1194769"></a> <span class="mono">minutesValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194771" id="1194771"></a> <span class="sansserif">An integer between 0 and 59, representing the minutes.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194773" id="1194773"></a> <span class="mono">secondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194775" id="1194775"></a> <span class="sansserif">An integer between 0 and 59, representing the seconds. If you specify the <span class="mono">secondsValue</span> parameter, you must also specify the <span class="mono">minutesValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194777" id="1194777"></a> <span class="mono">msValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194779" id="1194779"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds. If you specify the <span class="mono">msValue</span> parameter, you must also specify the <span class="mono">minutesValue</span> and <span class="mono">secondsValue</span>.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194781" id="1194781"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194782" id="1194782"></a> <span class="sansserif">If you do not specify the <span class="mono">secondsValue</span> and <span class="mono">msValue</span> parameters, the values returned from <span class="mono">getUTCSeconds</span> and <span class="mono">getUTCMilliseconds</span> methods are used.</span>
      </p>
      <p>
        <a name="1194783" id="1194783"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setUTCMinutes</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 100 for <span class="mono">secondsValue</span>, the minutes (<span class="mono">minutesValue</span>) will be incremented by 1 (<span class="mono">minutesValue</span> + 1), and 40 will be used for seconds.</span>
      </p>
      <p>
        <br>
         <a name="1194784" id="1194784"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194785" id="1194785"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setUTCMinutes(43);</span>
      </p>
      <p>
        <br>
         <a name="1194786" id="1194786"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194793" id="1194793"></a> <span class="sansserif"><a href="date.html#1194039">Date.getUTCMinutes</a> <span class="mono">,</span> <a href="date.html#1193778">Date.setMinutes</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194796" id="1194796"></a> <a name="setUTCMonth" id="setUTCMonth"></a> <span class="sansserif"><b>setUTCMonth</b></span>
      </p>
      <p>
        <a name="1194809" id="1194809"></a> <span class="sansserif">Sets the month for a specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194799" id="1194799"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194804" id="1194804"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194806" id="1194806"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194808" id="1194808"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204211" id="1204211"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204213" id="1204213"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194810" id="1194810"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194811" id="1194811"></a> <span class="mono">setUTCMonth(<i>monthValue</i>[, <i>dayValue</i>])</span>
      </p>
      <p>
        <br>
         <a name="1194812" id="1194812"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194822" id="1194822"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194815" id="1194815"></a> <span class="mono">monthValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194817" id="1194817"></a> <span class="sansserif">An integer between 0 and 11, representing the months January through December.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194819" id="1194819"></a> <span class="mono">dayValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194821" id="1194821"></a> <span class="sansserif">An integer from 1 to 31, representing the day of the month.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194823" id="1194823"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194824" id="1194824"></a> <span class="sansserif">If you do not specify the <span class="mono">dayValue</span> parameter, the value returned from the <span class="mono">getUTCDate</span> method is used.</span>
      </p>
      <p>
        <a name="1194825" id="1194825"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setUTCMonth</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 15 for <span class="mono">monthValue</span>, the year will be incremented by 1 (year + 1), and 3 will be used for month.</span>
      </p>
      <p>
        <br>
         <a name="1194826" id="1194826"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194827" id="1194827"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setUTCMonth(11);</span>
      </p>
      <p>
        <br>
         <a name="1194828" id="1194828"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194835" id="1194835"></a> <span class="sansserif"><a href="date.html#1194072">Date.getUTCMonth</a> <span class="mono">,</span> <a href="date.html#1194453">Date.setMonth</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194838" id="1194838"></a> <a name="setUTCSeconds" id="setUTCSeconds"></a> <span class="sansserif"><b>setUTCSeconds</b></span>
      </p>
      <p>
        <a name="1194851" id="1194851"></a> <span class="sansserif">Sets the seconds for a specified date according to universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194841" id="1194841"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194846" id="1194846"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194848" id="1194848"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194850" id="1194850"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204236" id="1204236"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204238" id="1204238"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194852" id="1194852"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194853" id="1194853"></a> <span class="mono">setUTCSeconds(<i>secondsValue</i>[, <i>msValue</i>])</span>
      </p>
      <p>
        <br>
         <a name="1194854" id="1194854"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194864" id="1194864"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194857" id="1194857"></a> <span class="mono">secondsValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194859" id="1194859"></a> <span class="sansserif">An integer between 0 and 59.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1194861" id="1194861"></a> <span class="mono">msValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194863" id="1194863"></a> <span class="sansserif">A number between 0 and 999, representing the milliseconds.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194865" id="1194865"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1194866" id="1194866"></a> <span class="sansserif">If you do not specify the <span class="mono">msValue</span> parameter, the value returned from the <span class="mono">getUTCMilliseconds</span> methods is used.</span>
      </p>
      <p>
        <a name="1194867" id="1194867"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, <span class="mono">setUTCSeconds</span> attempts to update the date information in the <span class="mono">Date</span> object accordingly. For example, if you use 100 for <span class="mono">secondsValue</span>, the minutes stored in the <span class="mono">Date</span> object will be incremented by 1, and 40 will be used for seconds.</span>
      </p>
      <p>
        <br>
         <a name="1194868" id="1194868"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194869" id="1194869"></a> <span class="mono">theBigDay = new Date();<br>
         theBigDay.setUTCSeconds(20);</span>
      </p>
      <p>
        <br>
         <a name="1194870" id="1194870"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194877" id="1194877"></a> <span class="sansserif"><a href="date.html#1194105">Date.getUTCSeconds</a> <span class="mono">,</span> <a href="date.html#1194498">Date.setSeconds</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194880" id="1194880"></a> <a name="setYear" id="setYear"></a> <span class="sansserif"><b>setYear</b></span>
      </p>
      <p>
        <a name="1194893" id="1194893"></a> <span class="sansserif">Sets the year for a specified date according to local time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194883" id="1194883"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194888" id="1194888"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194890" id="1194890"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194892" id="1194892"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199589" id="1199589"></a>
            </p>
            <p>
              <a name="1197480" id="1197480"></a> <span class="sansserif">Deprecated in JavaScript 1.3.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204272" id="1204272"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204274" id="1204274"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194895" id="1194895"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194896" id="1194896"></a> <span class="mono">setYear(<i>yearValue</i>)</span>
      </p>
      <p>
        <br>
         <a name="1194897" id="1194897"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194903" id="1194903"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1194900" id="1194900"></a> <span class="mono">yearValue</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194902" id="1194902"></a> <span class="sansserif">An integer.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194904" id="1194904"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1197858" id="1197858"></a> <span class="sansserif"><span class="mono">setYear</span> is no longer used and has been replaced by the <a href="date.html#1194264">setFullYear</a> method.</span>
      </p>
      <p>
        <a name="1194905" id="1194905"></a> <span class="sansserif">If <span class="mono">yearValue</span> is a number between 0 and 99 (inclusive), then the year for <span class="mono">dateObjectName</span> is set to 1900 + <span class="mono">yearValue</span>. Otherwise, the year for <span class="mono">dateObjectName</span> is set to <span class="mono">yearValue</span>.</span>
      </p>
      <p>
        <a name="1194906" id="1194906"></a> <span class="sansserif">To take into account years before and after 2000, you should use <a href="date.html#1194264">setFullYear</a> instead of <span class="mono">setYear</span> so that the year is specified in full.</span>
      </p>
      <p>
        <br>
         <a name="1194910" id="1194910"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194911" id="1194911"></a> <span class="sansserif">Note that there are two ways to set years in the 20th century.</span>
      </p>
      <p>
        <a name="1194912" id="1194912"></a> <span class="sansserif"><b>Example 1.</b> The year is set to 1996.</span>
      </p>
      <p>
        <a name="1194913" id="1194913"></a> <span class="mono">theBigDay.setYear(96)</span>
      </p>
      <p>
        <a name="1194914" id="1194914"></a> <span class="sansserif"><b>Example 2.</b> The year is set to 1996.</span>
      </p>
      <p>
        <a name="1194915" id="1194915"></a> <span class="mono">theBigDay.setYear(1996)</span>
      </p>
      <p>
        <a name="1194916" id="1194916"></a> <span class="sansserif"><b>Example 3.</b> The year is set to 2000.</span>
      </p>
      <p>
        <a name="1194917" id="1194917"></a> <span class="mono">theBigDay.setYear(2000)</span>
      </p>
      <p>
        <br>
         <a name="1194918" id="1194918"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194928" id="1194928"></a> <span class="sansserif"><a href="date.html#1194138">Date.getYear</a>, <a href="date.html#1194264">Date.setFullYear</a>, <a href="date.html#1194617">Date.setUTCFullYear</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1194931" id="1194931"></a> <a name="toGMTString" id="toGMTString"></a> <span class="sansserif"><b>toGMTString</b></span>
      </p>
      <p>
        <a name="1194944" id="1194944"></a> <span class="sansserif">Converts a date to a string, using the Internet GMT conventions.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194934" id="1194934"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194939" id="1194939"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194941" id="1194941"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194943" id="1194943"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199615" id="1199615"></a>
            </p>
            <p>
              <a name="1197485" id="1197485"></a> <span class="sansserif">Deprecated in JavaScript 1.3.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204308" id="1204308"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204310" id="1204310"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194945" id="1194945"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194946" id="1194946"></a> <span class="mono">toGMTString()</span>
      </p>
      <p>
        <br>
         <a name="1194947" id="1194947"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194948" id="1194948"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1194949" id="1194949"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1197498" id="1197498"></a> <span class="sansserif"><span class="mono">toGMTString</span> is no longer used and has been replaced by the <a href="date.html#1195045">toUTCString</a> method.</span>
      </p>
      <p>
        <a name="1194950" id="1194950"></a> <span class="sansserif">The exact format of the value returned by <span class="mono">toGMTString</span> varies according to the platform.</span>
      </p>
      <p>
        <a name="1194954" id="1194954"></a> <span class="sansserif">You should use <a href="date.html#1195045">Date.toUTCString</a> instead of <span class="mono">toGMTSTring</span>.</span>
      </p>
      <p>
        <br>
         <a name="1194955" id="1194955"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1194956" id="1194956"></a> <span class="sansserif">In the following example, <span class="mono">today</span> is a <span class="mono">Date</span> object:</span>
      </p>
      <p>
        <a name="1194957" id="1194957"></a> <span class="mono">today.toGMTString()</span>
      </p>
      <p>
        <a name="1194958" id="1194958"></a> <span class="sansserif">In this example, the <span class="mono">toGMTString</span> method converts the date to GMT (UTC) using the operating system's time-zone offset and returns a string value that is similar to the following form. The exact format depends on the platform.</span>
      </p>
      <p>
        <a name="1194959" id="1194959"></a> <span class="mono">Mon, 18 Dec 1995 17:28:35 GMT</span>
      </p>
      <p>
        <br>
         <a name="1194960" id="1194960"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1194967" id="1194967"></a> <span class="sansserif"><a href="date.html#1194970">Date.toLocaleString</a>, <a href="date.html#1195045">Date.toUTCString</a></span>
      </p>
      <p>
        <br>
      </p>
      <!-- start toLocaleString -->
      <p>
        <a name="1194970" id="1194970"></a> <a name="toLocaleString" id="toLocaleString"></a> <span class="sansserif"><b>toLocaleString</b></span>
      </p>
      <p>
        <a name="1194984" id="1194984"></a> <span class="sansserif">Converts a date to a string, using the current locale's conventions.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1194974" id="1194974"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194979" id="1194979"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1194981" id="1194981"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1194983" id="1194983"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204321" id="1204321"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204323" id="1204323"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1194985" id="1194985"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1194986" id="1194986"></a> <span class="mono">toLocaleString()</span>
      </p>
      <p>
        <br>
         <a name="1194987" id="1194987"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1194988" id="1194988"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1194989" id="1194989"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1195000" id="1195000"></a> <span class="sansserif">The <span class="mono">toLocaleString</span> method relies on the underlying operating system in formatting dates. It converts the date to a string using the formatting convention of the operating system where the script is running. For example, in the United States, the month appears before the date (04/15/98), whereas in Germany the date appears before the month (15.04.98). If the operating system is not year-2000 compliant and does not use the full year for years before 1900 or over 2000, <span class="mono">toLocaleString</span> returns a string that is not year-2000 compliant. <span class="mono">toLocaleString</span> behaves similarly to <span class="mono">toString</span> when converting a year that the operating system does not properly format.</span>
      </p>
      <p>
        <a name="1230536" id="1230536"></a> <span class="sansserif">Methods such as <a href="date.html#1193644">getHours</a>, <a href="date.html#1193710">getMinutes</a>, and <a href="date.html#1193778">getSeconds</a> give more portable results than <span class="mono">toLocaleString</span>.</span>
      </p>
      <p>
        <br>
         <a name="1195001" id="1195001"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1195002" id="1195002"></a> <span class="sansserif">In the following example, <span class="mono">today</span> is a <span class="mono">Date</span> object:</span>
      </p>
      <p>
        <a name="1195003" id="1195003"></a> <span class="mono">today = new Date(95,11,18,17,28,35) //months are represented by 0 to 11<br>
         today.toLocaleString()</span>
      </p>
      <p>
        <a name="1195004" id="1195004"></a> <span class="sansserif">In this example, <span class="mono">toLocaleString</span> returns a string value that is similar to the following form. The exact format depends on the platform.</span>
      </p>
      <p>
        <a name="1195005" id="1195005"></a> <span class="mono">12/18/95 17:28:35</span>
      </p>
      <p>
        <br>
         <a name="1195006" id="1195006"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1195013" id="1195013"></a> <span class="sansserif"><a href="date.html#1194931">Date.toGMTString</a>, <a href="date.html#1195045">Date.toUTCString</a></span>
      </p>
      <p>
        <br>
      </p>
      <!-- end toLocaleString -->
      <!-- start toLocaleDateString -->
      <p>
        <a name="toLocaleDateString" id="toLocaleDateString"></a> <span class="sansserif"><b>toLocaleDateString</b></span>
      </p>
      <p>
      <span class="sansserif">Converts a date to a string, returning the "date" portion using the current locale's conventions.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <span class="mono">toLocaleDateString()</span>
      </p>
      <p>
        <br>
         <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <span class="sansserif">The <span class="mono">toLocaleDateString</span> method relies on the underlying operating system in formatting dates. It converts the date to a string using the formatting convention of the operating system where the script is running. For example, in the United States, the month appears before the date (04/15/98), whereas in Germany the date appears before the month (15.04.98). If the operating system is not year-2000 compliant and does not use the full year for years before 1900 or over 2000, <span class="mono">toLocaleDateString</span> returns a string that is not year-2000 compliant. <span class="mono">toLocaleDateString</span> behaves similarly to <span class="mono">toString</span> when converting a year that the operating system does not properly format.</span>
      </p>
      <p>
        <span class="sansserif">Methods such as <a href="date.html#1193644">getHours</a>, <a href="date.html#1193710">getMinutes</a>, and <a href="date.html#1193778">getSeconds</a> give more portable results than <span class="mono">toLocaleDateString</span>.</span>
      </p>
      <p>
        <br>
        <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
        <span class="sansserif">In the following example, <span class="mono">today</span> is a <span class="mono">Date</span> object:</span>
      </p>
      <p>
        <span class="mono">today = new Date(95,11,18,17,28,35) //months are represented by 0 to 11<br>
         today.toLocaleDateString()</span>
      </p>
      <p>
        <span class="sansserif">In this example, <span class="mono">toLocaleDateString</span> returns a string value that is similar to the following form. The exact format depends on the platform.</span>
      </p>
      <p>
        <span class="mono">12/18/95</span>
      </p>
      <p>
        <br>
         <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <span class="sansserif"><a href="date.html#1194931">Date.toGMTString</a>, <a href="date.html#1195045">Date.toUTCString</a></span>
      </p>
      <p>
        <br>
      </p>
      <!-- end toLocaleDateString -->
      <!-- start toLocaleTimeString -->
      <p>
        <a name="toLocaleTimeString" id="toLocaleTimeString"></a> <span class="sansserif"><b>toLocaleTimeString</b></span>
      </p>
      <p>
      <span class="sansserif">Converts a date to a string, returning the "date" portion using the current locale's conventions.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <span class="sansserif">JavaScript 1.0, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <span class="mono">toLocaleTimeString()</span>
      </p>
      <p>
        <br>
         <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <span class="sansserif">The <span class="mono">toLocaleTimeString</span> method relies on the underlying operating system in formatting dates. It converts the date to a string using the formatting convention of the operating system where the script is running. For example, in the United States, the month appears before the date (04/15/98), whereas in Germany the date appears before the month (15.04.98). If the operating system is not year-2000 compliant and does not use the full year for years before 1900 or over 2000, <span class="mono">toLocaleTimeString</span> returns a string that is not year-2000 compliant. <span class="mono">toLocaleTimeString</span> behaves similarly to <span class="mono">toString</span> when converting a year that the operating system does not properly format.</span>
      </p>
      <p>
        <span class="sansserif">Methods such as <a href="date.html#1193644">getHours</a>, <a href="date.html#1193710">getMinutes</a>, and <a href="date.html#1193778">getSeconds</a> give more portable results than <span class="mono">toLocaleTimeString</span>.</span>
      </p>
      <p>
        <br>
        <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
        <span class="sansserif">In the following example, <span class="mono">today</span> is a <span class="mono">Date</span> object:</span>
      </p>
      <p>
        <span class="mono">today = new Date(95,11,18,17,28,35) //months are represented by 0 to 11<br>
         today.toLocaleTimeString()</span>
      </p>
      <p>
        <span class="sansserif">In this example, <span class="mono">toLocaleTimeString</span> returns a string value that is similar to the following form. The exact format depends on the platform.</span>
      </p>
      <p>
        <span class="mono">17:28:35</span>
      </p>
      <p>
        <br>
         <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <span class="sansserif"><a href="date.html#1194931">Date.toGMTString</a>, <a href="date.html#1195045">Date.toUTCString</a></span>
      </p>
      <p>
        <br>
      </p>
      <!-- end toLocaleTimeString -->
      <p>
        <a name="1195016" id="1195016"></a> <a name="toSource" id="toSource"></a> <span class="sansserif"><b>toSource</b></span>
      </p>
      <p>
        <a name="1195018" id="1195018"></a> <span class="sansserif">Returns a string representing the source code of the object.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1195021" id="1195021"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195026" id="1195026"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1195028" id="1195028"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195030" id="1195030"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204334" id="1204334"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204336" id="1204336"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1195031" id="1195031"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1195032" id="1195032"></a> <span class="mono">toSource()</span>
      </p>
      <p>
        <br>
         <a name="1195033" id="1195033"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1195034" id="1195034"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1195035" id="1195035"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1221372" id="1221372"></a> <span class="sansserif">The <span class="mono">toSource</span> method returns the following values:</span>
      </p>
      <ul>
        <li class="nobullet">
          <a name="1221373" id="1221373"></a>
        </li>
        <li>
          <span class="sansserif">For the built-in <span class="mono">Date</span> object, <span class="mono">toSource</span> returns the following string indicating that the source code is not available:</span> 
          <p>
            <a name="1221374" id="1221374"></a> <span class="mono">&nbsp;&nbsp;&nbsp;function Date() {<br>
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[native code]<br>
             &nbsp;&nbsp;&nbsp;}</span>
          </p>
          <p>
            <a name="1221375" id="1221375"></a>
          </p>
        </li>
        <li>
          For instances of <span class="mono">Date</span>, <span class="mono">toSource</span> returns a string representing the source code.
        </li>
      </ul><a name="1221376" id="1221376"></a> <span class="sansserif">This method is usually called internally by JavaScript and not explicitly in code.</span> 
      <p>
        <br>
         <a name="1206564" id="1206564"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1206568" id="1206568"></a> <span class="sansserif"><a href="object.html#1193320">Object.toSource</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1206669" id="1206669"></a> <a name="toString" id="toString"></a> <span class="sansserif"><b>toString</b></span>
      </p>
      <p>
        <a name="1206686" id="1206686"></a> <span class="sansserif">Returns a string representing the specified Date object.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1206672" id="1206672"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1206677" id="1206677"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1206679" id="1206679"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1206681" id="1206681"></a> <span class="sansserif">JavaScript 1.1, NES 2.0</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1206683" id="1206683"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1206685" id="1206685"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1206687" id="1206687"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1206688" id="1206688"></a> <span class="mono">toString()</span>
      </p>
      <p>
        <br>
         <a name="1206689" id="1206689"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1206690" id="1206690"></a> <span class="sansserif">None.</span>
      </p>
      <p>
        <br>
         <a name="1206691" id="1206691"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1206698" id="1206698"></a> <span class="sansserif">The <a href="date.html#1193137">Date</a> object overrides the <span class="mono">toString</span> method of the <a href="object.html#1193136">Object</a> object; it does not inherit <a href="object.html#1193350">Object.toString</a>. For <a href="date.html#1193137">Date</a> objects, the <span class="mono">toString</span> method returns a string representation of the object.</span>
      </p>
      <p>
        <a name="1206705" id="1206705"></a> <span class="sansserif">JavaScript calls the <span class="mono">toString</span> method automatically when a date is to be represented as a text value or when a date is referred to in a string concatenation.</span>
      </p>
      <p>
        <br>
         <a name="1206709" id="1206709"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1206811" id="1206811"></a> <span class="sansserif">The following example assigns the <span class="mono">toString</span> value of a Date object to <span class="mono">myVar</span>:</span>
      </p>
      <p>
        <a name="1206710" id="1206710"></a><span class="mono">x = new Date();<br>
         myVar=x.toString();&nbsp;&nbsp;&nbsp;//assigns a value to myVar similar to:<br>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Mon Sep 28 14:36:22 GMT-0700 (Pacific Daylight Time) 1998</span>
      </p>
      <p>
        <br>
         <a name="1206711" id="1206711"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1206715" id="1206715"></a> <span class="sansserif"><a href="object.html#1193350">Object.toString</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1195045" id="1195045"></a> <a name="toUTCString" id="toUTCString"></a> <span class="sansserif"><b>toUTCString</b></span>
      </p>
      <p>
        <a name="1195058" id="1195058"></a> <span class="sansserif">Converts a date to a string, using the universal time convention.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1195048" id="1195048"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195053" id="1195053"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1195055" id="1195055"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195057" id="1195057"></a> <span class="sansserif">JavaScript 1.3</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204343" id="1204343"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204345" id="1204345"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1195059" id="1195059"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1195060" id="1195060"></a> <span class="mono">toUTCString()</span>
      </p>
      <p>
        <br>
         <a name="1195061" id="1195061"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1195062" id="1195062"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1195063" id="1195063"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1195064" id="1195064"></a> <span class="sansserif">The value returned by <span class="mono">toUTCString</span> is a readable string formatted according to UTC convention. The format of the return value may vary according to the platform.</span>
      </p>
      <p>
        <br>
         <a name="1195066" id="1195066"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1195067" id="1195067"></a><span class="mono">var UTCstring;<br>
         Today = new Date();<br>
         UTCstring = Today.toUTCString();</span>
      </p>
      <p>
        <br>
         <a name="1195068" id="1195068"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1195075" id="1195075"></a> <span class="sansserif"><a href="date.html#1194970">Date.toLocaleString</a>, <a href="date.html#1195045">Date.toUTCString</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1195078" id="1195078"></a> <a name="UTC" id="UTC"></a> <span class="sansserif"><b>UTC</b></span>
      </p>
      <p>
        <a name="1195080" id="1195080"></a> <span class="sansserif">Returns the number of milliseconds in a <span class="mono">Date</span> object since January 1, 1970, 00:00:00, universal time.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1195083" id="1195083"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195088" id="1195088"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top" colspan="2" rowspan="1">
            <p>
              <a name="1195090" id="1195090"></a> <span class="sansserif"><i>Static</i></span>
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1195094" id="1195094"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195096" id="1195096"></a> <span class="sansserif">JavaScript 1.0, NES 2.0</span>
            </p>
            <p>
              <a name="1199636" id="1199636"></a>
            </p>
            <p>
              <a name="1195097" id="1195097"></a> <span class="sansserif">JavaScript 1.3: added <span class="mono">ms</span> parameter.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1204352" id="1204352"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1204354" id="1204354"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1195098" id="1195098"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1195099" id="1195099"></a> <span class="mono">Date.UTC(<i>year</i>, <i>month</i>[, <i>day</i>[, <i>hrs</i>[, <i>min</i>[, <i>sec</i>[, <i>ms</i>]]]]])</span>
      </p>
      <p>
        <br>
         <a name="1195100" id="1195100"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1195130" id="1195130"></a> <span class="sansserif"><br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <a name="1195103" id="1195103"></a> <span class="mono">year</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195105" id="1195105"></a> <span class="sansserif">A year after 1900.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1195107" id="1195107"></a> <span class="mono">month</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195109" id="1195109"></a> <span class="sansserif">An integer between 0 and 11 representing the month.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1195111" id="1195111"></a> <span class="mono">date</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195113" id="1195113"></a> <span class="sansserif">An integer between 1 and 31 representing the day of the month.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1195115" id="1195115"></a> <span class="mono">hrs</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195117" id="1195117"></a> <span class="sansserif">An integer between 0 and 23 representing the hours.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1195119" id="1195119"></a> <span class="mono">min</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195121" id="1195121"></a> <span class="sansserif">An integer between 0 and 59 representing the minutes.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1195123" id="1195123"></a> <span class="mono">sec</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195125" id="1195125"></a> <span class="sansserif">An integer between 0 and 59 representing the seconds.</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <a name="1195127" id="1195127"></a> <span class="mono">ms</span> 
            <p>
              &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1195129" id="1195129"></a> <span class="sansserif">An integer between 0 and 999 representing the milliseconds.</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1195131" id="1195131"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1195132" id="1195132"></a> <span class="sansserif"><span class="mono">UTC</span> takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the time you specified.</span>
      </p>
      <p>
        <a name="1195133" id="1195133"></a> <span class="sansserif">You should specify a full year for the year; for example, 1998. If a year between 0 and 99 is specified, the method converts the year to a year in the 20th century (1900 + year); for example, if you specify 95, the year 1995 is used.</span>
      </p>
      <p>
        <a name="1195134" id="1195134"></a> <span class="sansserif">The <span class="mono">UTC</span> method differs from the <span class="mono">Date</span> constructor in two ways.</span>
      </p>
      <ul>
        <li class="nobullet">
          <a name="1195135" id="1195135"></a>
        </li>
        <li>
          <span class="sansserif"><span class="mono">Date.UTC</span> uses universal time instead of the local time.</span> 
          <p>
            <a name="1195136" id="1195136"></a>
          </p>
        </li>
        <li>
          <span class="mono">Date.UTC</span> returns a time value as a number instead of creating a <span class="mono">Date</span> object.
        </li>
      </ul><a name="1195137" id="1195137"></a> <span class="sansserif">If a parameter you specify is outside of the expected range, the <span class="mono">UTC</span> method updates the other parameters to allow for your number. For example, if you use 15 for <span class="mono">month</span>, the year will be incremented by 1 (year + 1), and 3 will be used for the month.</span> 
      <p>
        <a name="1195138" id="1195138"></a> <span class="sansserif">Because UTC is a static method of <span class="mono">Date</span>, you always use it as <span class="mono">Date.UTC()</span>, rather than as a method of a <span class="mono">Date</span> object you created.</span>
      </p>
      <p>
        <br>
         <a name="1195139" id="1195139"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1195140" id="1195140"></a> <span class="sansserif">The following statement creates a <span class="mono">Date</span> object using GMT instead of local time:</span>
      </p>
      <p>
        <a name="1195141" id="1195141"></a> <span class="mono">gmtDate = new Date(Date.UTC(96, 11, 1, 0, 0, 0))</span>
      </p>
      <p>
        <br>
         <a name="1195142" id="1195142"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1195146" id="1195146"></a> <span class="sansserif"><a href="date.html#1194184">Date.parse</a></span>
      </p>
      <p>
        <br>
      </p>
      <p>
        <a name="1206897" id="1206897"></a> <a name="valueOf" id="valueOf"></a> <span class="sansserif"><b>valueOf</b></span>
      </p>
      <p>
        <a name="1206914" id="1206914"></a> <span class="sansserif">Returns the primitive value of a Date object.<br></span>
      </p>
      <p>
        <br>
        <br>
      </p>
      <table width="90%" border="1" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top">
            <p>
              <a name="1206900" id="1206900"></a> <span class="sansserif"><i>Method of</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1206905" id="1206905"></a> <span class="sansserif"><a href="date.html#1193137">Date</a></span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1206907" id="1206907"></a> <span class="sansserif"><i>Implemented in</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1206909" id="1206909"></a> <span class="sansserif">JavaScript 1.1</span> &nbsp;
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p>
              <a name="1206911" id="1206911"></a> <span class="sansserif"><i>ECMA version</i></span> &nbsp;
            </p>
          </td>
          <td valign="top">
            <p>
              <a name="1206913" id="1206913"></a> <span class="sansserif">ECMA-262</span> &nbsp;
            </p>
          </td>
        </tr>
      </table>
      <p>
        <br>
         <a name="1206915" id="1206915"></a> <a name="Syntax" id="Syntax"></a> <span class="sansserif"><b>Syntax</b></span><br>
         <a name="1206916" id="1206916"></a> <span class="mono">valueOf()</span>
      </p>
      <p>
        <br>
         <a name="1206917" id="1206917"></a> <a name="Parameters" id="Parameters"></a> <span class="sansserif"><b>Parameters</b></span><br>
         <a name="1221650" id="1221650"></a> <span class="sansserif">None</span>
      </p>
      <p>
        <br>
         <a name="1221651" id="1221651"></a> <a name="Description" id="Description"></a> <span class="sansserif"><b>Description</b></span><br>
         <a name="1221658" id="1221658"></a> <span class="sansserif">The <span class="mono">valueOf</span> method of <a href="date.html#1193137">Date</a> returns the primitive value of a Date object as a number data type, the number of milliseconds since midnight 01 January, 1970 UTC.</span>
      </p>
      <p>
        <a name="1206933" id="1206933"></a> <span class="sansserif">This method is usually called internally by JavaScript and not explicitly in code.</span>
      </p>
      <p>
        <br>
         <a name="1206934" id="1206934"></a> <a name="Examples" id="Examples"></a> <span class="sansserif"><b>Examples</b></span><br>
         <a name="1206935" id="1206935"></a><span class="mono">x = new Date(56,6,17);<br>
         myVar=x.valueOf()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//assigns -424713600000 to myVar</span>
      </p>
      <p>
        <br>
         <a name="1206936" id="1206936"></a> <a name="See also" id="See also"></a> <span class="sansserif"><b>See also</b></span><br>
         <a name="1206940" id="1206940"></a> <span class="sansserif"><a href="object.html#1193540">Object.valueOf</a></span>
      </p>
    </blockquote>
    <blockquote>
      <br>
       <b><a class="sansserifPurple" href="boolean.html">Previous</a></b>&nbsp;&nbsp;&nbsp;&nbsp; <a href="contents.html"><b class="sansserifPurple">Contents</b></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="ix.html"><b class="sansserifPurple">Index</b></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="function.html"><b class="sansserifPurple">Next</b></a> &nbsp;&nbsp;&nbsp;&nbsp; 
      <hr noshade="noshade" size="1">
      <span class="sansserif">Copyright &copy; 2000 <a href="http://www.netscape.com">Netscape Communications Corp.</a> All rights reserved.</span>
    </blockquote>
    <p class="alignright">
      <span class="sansserif">Last Updated <b>May 19, 2003</b></span>
    </p>
  </body>
</html>
